I want to execute script after run the commit command in git
.
Asked
Active
Viewed 6,732 times
4
-
2This previous SO answer contains a good sample: http://stackoverflow.com/questions/7633299/simple-git-post-commit-hook-to-copy-committed-files-to-a-certain-folder – DenizEng Feb 25 '16 at 10:47
1 Answers
5
Now, I have got the answers, Using Git hooks that executes before or after events such as: commit, push, and receive. http://githooks.com/

Sachin Kumaram
- 900
- 1
- 10
- 27