I have gitolite configured on my repo. I see 2 copies of the hooks as documented in the gitolite literature. I would like the server-side hook post-receive to send email when someone does a push to the repo. I am using git-notifier. However, nothing happens when I push. I have modified both copies of the hooks, and I added a line to create a tmp file. After I push my changes to the repo, no tmp file is there and no email is sent. Any help is greatly appreciated. Thanks.
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Outlook Object Model - Hooking to the Conversation
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
- git: retry if http request failed
You should run the following commands:
The only place you have to modify the hooks is on
gitolite/hooks/common
. The above commands takes care of updating the hooks in all repositories.