TIL: Skipping git pre-commit
For saving WIP commits to a remote repo. You really don't want to know what I was doing before.
Just add --no-verify
to whatever you are doing:
git commit -am "Fun code noodling" --no-verify
git commit --amend --no-verify
Thanks to Fabio da Luz, I found you can also shorten that to just -n
.
git commit -am "Fun code noodling" -n
git commit --amend -n

Tags: howto git TIL