Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

git-svn, remote tracking branch question

From: Seth Falcon <hidden>
Date: 2016-06-15 22:43:01

Hi,

I've edited my <repos>/.git/config file so that git-svn is tracking
the main devel line as well as a release branch of a project.  This
seems to work well.

So I have:

[svn-remote "svn"]
	url = https://svn.url.com/root
	fetch = branches/release-2-5:refs/remotes/2.5
	fetch = trunk:refs/remotes/git-svn

I can checkout the 2.5 release branch like this:

   git checkout -b 2.5 remotes/2.5

But at this point, how do I ask git-svn to update it?  When working on
the devel line, I can do 'git svn rebase' and I would like to do the
same thing but relative to the branch.

Perhaps there is some config I can add so that I don't have to do:

   git svn fetch
   git rebase remotes/2.5

That isn't so bad except for having to remember where you are...

Thanks,

+ seth

-- 
Seth Falcon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help