Can I set hooks for "pull"/"push"ing from/to a git-svn
managed repository?
The situation is that I have a project host on Google Code, and use git to manage the local working copy. I want to set some hooks so that when checking in/out data from/to the SVN repository with git svn fetch
and git svn dcommit
, I can do some modification to the commit. Since I do not host the SVN repository, I can't set hooks on the server side.
Is there any hook I could use? Or is there a way to "mark" an ordinary branch, so that git pull
and git push
on that branch will check in/out from/to a SVN repository instead, therefore the normal git hooks could be used?
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…