Git Cheat Sheet
Every time we say , you can use any of these: Then change "pick" to "fixup" for any commit you want to combine with the previous one. Then manually find the right commit ID in the reflog, then run: git config --global ...
Source: git-scm.com