Skip to content

Ignore hooks #76

Answered by LMaxence
bdvorianov asked this question in Q&A
Apr 7, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello !

First of all, many thanks for giving Mookme a try :) It depends on how you invoked Mookme in the first place:

  • If mookme is triggered as part of your usual git hooks (meaning as a pre-commit or pre-push git hook in your case), you can avoid it being executed using the --no-verify option.
# no hooks will be executed
git commit -m "something" --no-verify
  • If you invoke directly with the CLI (like in a CI or something like this), you will have to include some logic in your script to skip the command in any logical case you don't want it to run

  • If neither options are suitable, you can try to use the onlyOn step option

Hope I could help ! Feel free to tell me if it didn't help

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bdvorianov
Comment options

@bdvorianov
Comment options

Answer selected by bdvorianov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants