Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to commit with --no-verify to disable hooks #173

Closed
jkrehm opened this issue Oct 24, 2018 · 8 comments
Closed

Add ability to commit with --no-verify to disable hooks #173

jkrehm opened this issue Oct 24, 2018 · 8 comments
Labels
enhancement New feature or request

Comments

@jkrehm
Copy link

jkrehm commented Oct 24, 2018

Problem description

I would like to have the option to skip pre-commit hooks, e.g. to skip tests when committing changes to a README.

Currently, if I want to commit like that, I have to open up a terminal and perform the commit via CLI (or use SourceTree).

Preferred solution

Add an option to the "Commit" button dropdown to skip hooks.

Alternatives

Any other means to disable hooks for the commit.

@jkrehm jkrehm changed the title Commit with --no-verify to disable hooks Add ability to commit with --no-verify to disable hooks Oct 24, 2018
@wbond wbond added the enhancement New feature or request label Jan 2, 2019
@schnoddelbotz
Copy link

It would also be nice to have --no-verify in the drop-down list for push options (to circumvent pre-push hook).

@blaggacao
Copy link

@wbond Is there plans to milestone this?

@wbond
Copy link
Member

wbond commented Mar 31, 2019

We use milestones to indicated what build contained a new feature or bug fix. I do not have any info on when/if this will be added.

@jkrehm
Copy link
Author

jkrehm commented Apr 1, 2019

This is the sort of functionality that I would love to have.

skip_hooks

@srbs
Copy link

srbs commented May 31, 2019

This has been added in dev build 1113.

@MatthewKelly
Copy link

Can we also have this for push? e.g. git push --no-verify

@srbs
Copy link

srbs commented Jun 12, 2019

@MatthewKelly, please create a new enhancement request for that request.

@jkrehm jkrehm closed this as completed Jun 12, 2019
@jkrehm
Copy link
Author

jkrehm commented Jun 12, 2019

Thank you for adding this functionality!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants