Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

better commits broke git-gui #95

Answered by mjhenke
mjhenke asked this question in Q&A
Discussion options

I really like the idea of better commits and wanted to try it out, however after install git-gui give me an error..

[Window] Git Gui (Better-commits): error
prepare-commit-msg hook failed:
git: 'hook' is not a git command. see 'git --help'.
You must correct the above errors before commiting.

Any help would be appreciated.

You must be logged in to vote

macOS Big Sur, version 11.7.10 defaults to git version 2.32.0 (Apple Git-132), which does not have githook implemented. Using brew install git to install latest version of git > 2.36 resolves the issue.

Replies: 1 comment

Comment options

macOS Big Sur, version 11.7.10 defaults to git version 2.32.0 (Apple Git-132), which does not have githook implemented. Using brew install git to install latest version of git > 2.36 resolves the issue.

You must be logged in to vote
0 replies
Answer selected by mjhenke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /