|
|
|
|
|
by capableweb
1885 days ago
|
|
"force" is harmful not only because you might push over other people's changes, but because you're also introducing additional work for people who are using the branch you're force pushing to. No longer can those people simply run `git pull` to get a updated branch, since older references also changed. Solution is simply to never use force. Let the history be the history, don't overwrite it. |
|
Additionally, technically speaking --force does not overwrite history, it just moves the branch pointer. Old commits are there.