feature, add ability to skip pre-commit/pre-push with --no-verify#586
feature, add ability to skip pre-commit/pre-push with --no-verify#586Mechanicalkeyboard wants to merge 2 commits intoshepherd-tools:mainfrom
Conversation
|
IMO, these parameters should not be passed through Shephard. Doing so would disable functionality that is typically used to, amongst other things, ensure certain standards are being met before committing or pushing changes which can help save on, amongst other things, resource consumption downstream (e.g., build pipelines, integ tests, etc...). One workaround (See [1] for more details) to consider is to modify your local git config via You can revert back using Thoughts? References |
|
@aorinevo I do like your suggestion of modifying the global hooks locally for certain cases. I would like the option in this repo, because when you are working against many flavors of repositories, having the option of skipping pre-commit/pre-push hooks can save time in getting small isolated changes out to many repos where they may have hooks that trigger tests that require local setup. |
|
Being able to add --noverify would be a really useful addition for my teams as well. |
No description provided.