Skip to Main Content
Pragmatic Version Control Using Git
book

Pragmatic Version Control Using Git

by Travis Swicegood
December 2008
Intermediate to advanced content levelIntermediate to advanced
184 pages
4h 47m
English
Pragmatic Bookshelf
Content preview from Pragmatic Version Control Using Git

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.
Start your free trial

You might also like

Git: Mastering Version Control

Git: Mastering Version Control

Ferdinando Santacroce, Aske Olsson, Rasmus Voss, Jakub Narębski
Pragmatic Guide to Git

Pragmatic Guide to Git

Travis Swicegood
Git Version Control Cookbook - Second Edition

Git Version Control Cookbook - Second Edition

Kenneth Geisshirt, Emanuele Zattin(EUR), Aske Olsson, Rasmus Voss

Publisher Resources

ISBN: 9781680500189Errata Page