git-self-blame
is a simple git
plugin that lets you take the blame for code
you didn't write.
Ever wonder, Who wrote this garbage code? Sure, you could find out with git blame
,
but even if it wasn't you:
- Maybe you approved that garbage in code review.
- Maybe you could've mentored the author on writing less-garbagey code.
- Maybe you helped foster a culture of shipping garbage.
- Maybe you put pressure on deadlines that lead to the garbaginess.
Maybeyou've written things much, much worse.
Take some responsibility instead with git self-blame
.
"You can put the blame on me." —Akon, on his motto as a Linux kernel maintainer
- Doesn't change your
git
history or configuration or anything else. This is a real tool, not some joke to mess up your whole repo. - Definitely works in Bash and Zsh. Probably works in most other shells?
- Accepts any arguments that
git blame
accepts. - Can be safely run in parallel with other
git
commands (including othergit self-blame
commands). - It blames you for everything, what more do you want?
git clone https://github.com/JacobEvelyn/git-self-blame.git
cd git-self-blame
export PATH=$PATH:$(pwd)
# If you want to actually use this more than once, add this
# to your PATH in a more permanent place, like your
# `~/.bashrc` or `~/.zshrc` files.
There's a handy walkthrough in the source!
I'm Jacob. I do a lot of humor writing and tech writing and code writing, and you can blame me for all of it.