Git commits manipulation
A very simple way of manipulating the commits in a git branch is to use the rebase command on its own branch.
⯠git rebase -i HEAD~6
In this example we want an interactive screen where we can choose what to do with the last six commits, just follow the instructions to pick, squash or skip commits and save the document.
















