GIT: To force-push or not to force-push

Be aware that force-pushing is a highly dangerous and unclean solution when you’re working in a shared repository. All commits in the shared repository should be considered immutable. To keep your repository consistent and keep your coworkers happy, you should use git revert instead.

Read more