DEV Community

Discussion on: Git Rebase Is Not The Devil

Collapse
 
waylonwalker profile image
Waylon Walker

Always push to the remote and check that git status is clean before a rebase. They can go sideways and kill your work, especially if you don't know what on the other side. While anything that has been committed can be retrieved one way or another, it can be really hard for not advanced git users. Its much easier to keep git reset --hard origin/my-feature in your back pocket.