My git hook would prompt for answer yes/no when do the push. How could I get the prompt and enter my input when using Magit?

1 Answer 1


This will likely just work. If not, then you might have to customize magit-process-yes-or-no-prompt-regexp.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.