Re:How I Messed Up Our Repo and Ideas for Improving Git UX
by Kaizyn on Saturday August 06, 2016 @08:41PM
(#12240538)
User does a git force push and bad things happen to the repo. Naturally git and github are at fault for allowing this to happen? It seems a better solution is not to do a force push or to turn on 'protected branches' in github than to try to improve git's usability.
Re:How I Messed Up Our Repo and Ideas for Improving Git UX
by EspadaV9 on Sunday August 07, 2016 @03:10AM
(#12241348)
It could easily have been avoided if everyone on the team used their own fork and committed to the master repo via merge requests. Set up protected branches on the master and then only force push to your own fork. No way to accidently ruin someone else day :)
[push]
Usually you only want to push the current branch.