Repository navigation
feat(cli): add --no-verify to run git without hooks - #10
Merged
Merged
Conversation
A global --no-verify flag passes core.hooksPath (pointing at a directory that is never created) on the command line of every git command git-stack runs, so pre-commit, commit-msg, pre-push and the other hooks are skipped for that one invocation. No config is changed, so hooks cannot be left disabled, even if git-stack crashes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HT5Zbe3D4H8mAHGZQxKhqm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A global --no-verify flag passes core.hooksPath (pointing at a directory
that is never created) on the command line of every git command
git-stack runs, so pre-commit, commit-msg, pre-push and the other hooks
are skipped for that one invocation. No config is changed, so hooks
cannot be left disabled, even if git-stack crashes.
Pass it again on
rebase --continue/modify --continue: a paused operation does not remember it.Testing
--no-verifyand run again without it;.git/configis unchanged.internal/gitunit test forHooksPath.mise run checkpasses.🤖 Generated with Claude Code
https://claude.ai/code/session_01HT5Zbe3D4H8mAHGZQxKhqm
Stack (managed by git stack)
main