bash - Git Remote Repository Fetch Hook -
i have bare remote repository , want invoke hook when "git fetch" performed against it.
i have tried several hooks thought might work (post-merge, know local repos thought i'd try anyways), have tried replacing of git-* binaries (such git-upload-archive , git-upload-pack) scripts invoke binaries.
any ideas on how can trigger script run when "git fetch" performed against remote repository? , yes, aware of docs (http://www.manpagez.com/man/5/githooks/)
i believe answer can't -- hooks called after write operations. see http://git-scm.com/book/en/v2/customizing-git-git-hooks better wording on use of server hooks.
Comments
Post a Comment