Git: merge the last two commits into one commit
Run:
$ git rebase --interactive HEAD~2
The lowest commit in the list is the latest.
Substitute pick
by squash
.
pick old_commit
squash newest_commit
Save.
That should take you to another editor screen.
If not, if you are back on the command line, run:
git rebase --continue
to carry on.
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki