ns-rse / git-collaboration

Intermediate level course on using Git for collaboration
https://ns-rse.github.io/git-collaboration/
Other
1 stars 0 forks source link

Callout on the dangers of force pushing. #79

Closed ns-rse closed 1 month ago

ns-rse commented 1 month ago

Make sure it is clear that after git commit --fixup && git rebae -i --autosquash and git rebase -i that when using git push --force that people should be wary of force pushing in case others have git pull'd the branch.

The correct way to do so is to git push --force-with-lease. See articles...

ns-rse commented 1 month ago

Closed by #78