Here's a preview from my zine, Oh Shit! Git!! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!
read the transcript!
- Make your change
- Add your files with git add
- Run:
git commit --amend --no-edit
person: this usually happens to me when I forget to run tests/linters before committing!
You can also add a new commit and use git rebase -i
to squash them but this is about a million times faster.
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!