- You finish writing some awesome code. You’re a bad ass and you know it.
- You hit the command line, because you stopped creating GUI interfaces using visual basic a long time ago.
- Issue a little “git add” here and there, add some broth, a potato. Baby, you’ve got a stew going… So you commit!
- You do the habitual post-commit “git status” for no good reason and there it is, the file you friggen forgot to add to the commit you already committed to.
Fortunately git has a really convenient way to amend to your last commit! Just simply stage the file(s) you missed and run:
git commit --amend