Open b-chu opened 7 months ago
Can you add more details please. In what cases would you want to skip commit hooks?
When using git amend
Are these custom pre-commit hooks that you have? or the commit msg hook that spr runs while updating the stack?
git commit allows for --no-verify and spr uses git commit but doesn't allow for --no-verify https://git-scm.com/docs/git-commit
git amend uses git commit --fixup
+ git rebase
if you want to add --no-verify there it's possible.
the code is in:
cmd/amend/main.go
spr/spr.go : AmendCommit function
Pull requests are welcome.
Is this the same as or only quite similar to #293 ?
There should be a way to skip pre-commit hooks