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

Feature request: Option to skip commit hooks #2

Open
albertvaka opened this issue Jul 21, 2024 · 2 comments
Open

Feature request: Option to skip commit hooks #2

albertvaka opened this issue Jul 21, 2024 · 2 comments

Comments

@albertvaka
Copy link

Thanks for taking over the maintainer role of git-gui 😄

It would be great if git-gui allowed the equivalent of passing --no-verify when committing using the CLI.

The simpler and least intrusive implementation of this would be a new menu entry, side by side to "Commit", that was "Commit (bypass commit hooks)".

@j6t
Copy link
Owner

j6t commented Jul 23, 2024

I can see that this is a desirable option.

When this is implemented, it should be hidden away to avoid that it is used accidentally. Every use of this form of making a commit must be a conscious decision by the user. Therefore it should be a new entry in the menu and without a hot-key and no button next to the edit box.

@albertvaka
Copy link
Author

100% agree!

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

No branches or pull requests

2 participants