Although git is a distributed VCS and the client repositories are more or less independent, it is most common that the one remote repository is treated as the single source of truth.
Force pushing to that remote repo is essentially like saying 'screw what others might have pushed before, my local copy is the new single source of truth now'
You shoud never force
Why not? The option is there.
Here’s an article on why it’s sometimes dangerous : blog.developer.atlassian.com/force...
Thanks, I'll have a look. But I reacted more to the "never".
Gotcha..I agree..never is a little strong lol. There's exceptions.
Although git is a distributed VCS and the client repositories are more or less independent, it is most common that the one remote repository is treated as the single source of truth.
Force pushing to that remote repo is essentially like saying 'screw what others might have pushed before, my local copy is the new single source of truth now'
The king is dead, long live the king!
You explained that pretty well! Going to refer to your response every time someone questions why I’m not using git push force