It would be nice if the commands that push supported a --no-verify flag. I've had to implement a local function like this to get around the pre-commit hooks that sometimes fail during push after a rebase.
# git stack --push without running hooks.
gs-push-quiet() {
git config core.hooksPath /dev/null
gh stack push
git config --unset core.hooksPath
}
Not all my colleagues use pre-commit, so sometimes a random change somewhere in the mono repo will block a push without --no-verify, even though all my commits are clean.
It would be nice if the commands that push supported a
--no-verifyflag. I've had to implement a local function like this to get around the pre-commit hooks that sometimes fail during push after a rebase.Not all my colleagues use pre-commit, so sometimes a random change somewhere in the mono repo will block a push without
--no-verify, even though all my commits are clean.