[git-users] Re: Question on Git Hooks

2013-11-08 Thread mayur nagekar
I am assuming its a bare repository on the remote server. If it is, then 1) traverse to that repository directory. For example , cd my_repo.git 2) then cd to hooks directory, For eg, cd hooks 3) You need to put the logic in update hook. If it doesn't exist, create update file. I have all my

[git-users] Re: Question on Git Hooks

2013-10-22 Thread Thomas Ferris Nicolaisen
On Monday, October 14, 2013 2:50:29 PM UTC+2, Ling wrote: Hello, We are going to integrate the Git with VersionOne and also trying to create some hooks that prevent when developers trying to commit/push the changes into the remote repositories, for example: when developer trying to