You are viewing a single thread.
View all comments 10 points
At least always use git push —force-with-lease
. It makes sure you are that the remote hasn’t changed since you lasted pulled. https://git-scm.com/docs/git-push#Documentation/git-push.txt---no-force-with-lease