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

I literally keep this in my bash history so i can press up once and hit enter to commit: `git add *; git commit -m "changes"; git push origin main;`

I use git as backup and commit like every half an hour... but make sure to give proper commit message once a certain milestone have been reached.

Im also with the author on this on squashing all these commits into a new commit and then pushing it in one go as init commit before going public.



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

Search: