Comment by andybak
4 years ago
It is a backup but it's a partial backup that excludes:
1. everything else on your system (potentially - a lot of stuff depending on your workflow
2. everything you've .gitignored (you 100% sure that's all ok?)
3. changes not yet pushed
4. branches that don't exist on remote
5. git stuff that's invaluable for disaster recovery
6. git stashes
and probably other things i haven't thought of.
Backups should be:
1. Offsite
2. Automated
3. Recent and up to date
4. Comprehensive
Git workflows usually only handle point 1
No comments yet
Contribute on Hacker News ↗