How to synchronize two git-svn repos -


i have use subversion repository , i'd use git-svn. switch computer , @ moment need commit changes , update other computer. changed code wouldn't work, idea create 2 git-svn repos , synchronize them push/pull, , sync them (or 1 of them) svn repository. possible? switching repository git no option. (sadly)

if need sync svn git repo both of computer, yes: each repo "git-svn" one.
create 2 repos, , create own set of git branches on top of git-svn ones.

but must not merge/push/pull branch dcommit'ed svn: need pay attention caveats section of git-svn:

for sake of simplicity , interoperating subversion, recommended git svn users clone, fetch , dcommit directly svn server, , avoid git clone/pull/merge/push operations between git repositories , branches. recommended method of exchanging code between git branches , users git format-patch , git am, or 'dcommit’ing svn repository.

running git merge or git pull not recommended on branch plan dcommit because subversion users cannot see merges you’ve made. furthermore, if merge or pull git branch mirror of svn branch, dcommit may commit wrong branch.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -