3 ms·
> Also if you do wipe your repository, restore it form your backup. Git is distributed. The "backup"† is another dev doing a git push -f. Also, git reflog. The
by lloeki 12y ago
> Also if you do wipe your repository, restore it form your backup.
Git is distributed. The "backup"† is another dev doing a git push -f. Also, git reflog. The argument just does not hold water. (Also, do backup your VCS server anyway.)
If you want to keep rogue devs in check, set up a Gitlab instance, and use protected branches and merge requests.
† Read me correctly, it's not a backup, it's just part of the resiliency of git. Proper backups should be made il all cases.