Just to be clear, the upci alias is explained 
here: http://blog.tfnico.com/2010/11/git-svn-mirror-for-multiple-branches.html

It's defined as:

upci = !git update-ref refs/remotes/$(git branch | grep '^*' | awk '{print 
$2}') refs/remotes/origin/$(git branch|grep '^*'|awk '{print $2}') && git 
svn dcommit

The above does update-ref and dcommit on the current branch. 

If you want to dcommit on another branch, you have to check it out first:
> git upci
> git co b_another_branch
> git commit changes
> git upci

If I understand you correctly, you want to automatically do an "upci" with 
each change in each branch.

I don't know how to achieve this. git svn uses the work-dir to operate, so I 
think you have to have the branch you want to dcommit actually checked out.

Perhaps a possible workaround would be to have a fetching repository for 
each branch you wish to keep in sync? This obviously doesn't scale well, but 
for less than a handful branches it could work.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to