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

I really do not like `push -f` because in the past git default configuration was to push all branches; things have improved now that the default is to push to the current branch.

Recently got turned onto `git push --force-with-lease` which is great.

http://blog.developer.atlassian.com/force-with-lease/



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

Search: