DEV Community

loading...

Discussion on: A Git Cheatsheet Of Commands Every Developer Should Use

Collapse
eecolor profile image
EECOLOR

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.