(git rebase -i HEAD~3). The number is the end number of commits you want to review and the -i
means you want it to be an interactive session. :) Now let's get moving.
Now that we are in a "rebase session", we will be using "vim" commands, if you're not familiar with vim commands, you can check out a cheat sheet of them here. Your terminal screen should look something like this:

Once you're in the open session, we will want to hit i
for insert with vim, then we will direct to the correct place with our arrow keys, change the first word in the line next to your commit. To rename commit, we will change it to reword
, then after that hit esc
then we will type :wq
and hit enter
since it's vim, this will