Git hook to push commits to a dedicated git-svn branch
I have a git repository with 3 branches develop, master, and svn. I want
to take the latest commits to develop and push or mirror them, if you
will, to the svn branch where I will then immediately git svn dcommit them
to my SVN repo.
The reason I want to do it this was is to basically have a develop branch
and a develop-svn mirror branch where they both have the same code
history, but the develop branch is clean and doesn't contain any of the
git-svn metadata like git-svn-id's
Is there a straightforward way to achieve this with a Git Hook system?
No comments:
Post a Comment