Is there a "git hook" command?

Viewed 97

When trying to run the command:

git p4 submit --shelve

(which runs git-p4.py) I am getting the error:

git: 'hook' is not a git command. See 'git --help'.

When I look in the code for git-p4.py, I see that it's trying to run the command:

git hook run p4-prepare-changelist

but, there doesn't seem to really be a command like git hook! The error message says it all! So what is going on?

1 Answers
Related