Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Git is not a backup! Had you had one, you could have had your mind at ease.


Ya I realize this now. I usually keep backups. I don't know why I haven't been on this project. I'm using git properly now with proper backups for the project. Though everything's still on the local machine, it's better than the setup I had. I chose to take it as a warning to sort that shit out.


Pushing to a remote is a backup. Gitlab offers private repositories for free.


Until you force push ;)


And then you still have the commits, but no branch pointing to them. Don't worry, they're still there.


Its just as easy to delete most other backups.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: