10.4 Keeping Up-to-Date with a Subversion Repository
Whether you are communicating with an active Subversion
repository or you used git svn clone -r ... to
make your initial clone, you can pull changes from your Subversion repository in two ways.
The first is git svn fetch. It pulls all
the remote changes into their remote branch but doesn’t try to merge
them into your local branch. This is also the command you use to grab
new branches from Subversion.
The second, and the one that gets more use, is git svn rebase.
It works like git svn fetch followed by
git rebase. It pulls all the commits
from your upstream Subversion repository and then rebases your current branch
against the remote branch.
Just like with git rebase, if you have a local ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access