In practice I have noticed more problems arise when using rebase. These problems come up when you work as a team in a branch or have merged other branches (and solved conflicts).
We now have the policy that you are only allowed to rebase if the code has not been pushed to the remote. We also prevent push --force which is required for most rebases.
We're a place where coders share, stay up-to-date and grow their careers.
In practice I have noticed more problems arise when using
rebase
. These problems come up when you work as a team in a branch or have merged other branches (and solved conflicts).We now have the policy that you are only allowed to rebase if the code has not been pushed to the remote. We also prevent
push --force
which is required for most rebases.