DEV Community

Discussion on: Getting started with Git? 10 commands that would save you…

Collapse
 
avallete profile image
avallete

git rebase -i HEAD HEAD~X

For rewriting some history before pushing is a must have for me.