News for hackers. Stuff that matters.
Re:How to undo almost anything with Git by erikb on Tuesday June 09, 2015 @04:20AM (#9684607)
Maybe that was why I always `git fetch && git push -f`. But luckily since a few months it's not a problem anymore if you configured your git correctly, because now it only force pushes your current branch.
Re:How to undo almost anything with Git by Peaker on Tuesday June 09, 2015 @05:22AM (#9684776)
Just make an alias pushf = push --force-with-lease, and it becomes even less to type! :-)