Difference between revisions of "Git svn"

From relax wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
== Windows ==
 
== Windows ==
 
[http://www.tfnico.com/presentations/git-and-subversion Based on these posts] and on [http://trac.parrot.org/parrot/wiki/git-svn-tutorial this recommended post].
 
[http://www.tfnico.com/presentations/git-and-subversion Based on these posts] and on [http://trac.parrot.org/parrot/wiki/git-svn-tutorial this recommended post].
 +
 +
You should install [{msysgit]], to do the checkout.
  
 
  md C:\relax
 
  md C:\relax
Line 12: Line 14:
 
  #Build
 
  #Build
 
  scons
 
  scons
This takes a clone of the repository at that revision; to update it to HEAD, you now need to rebase, which is very similar to: svn up
+
For futurev updates to the SVN revision HEAD, you now need to do a git svn rebase, which is very similar to: svn up
 
  git svn rebase
 
  git svn rebase
  
 
=== Check information ===
 
=== Check information ===
 
  git branch -a
 
  git branch -a

Revision as of 13:27, 21 July 2013

Background

Windows

Based on these posts and on this recommended post.

You should install [{msysgit]], to do the checkout.

md C:\relax
cd C:\relax
git svn clone http://svn.gna.org/svn/relax/trunk
git svn clone http://svn.gna.org/svn/relax/branches/relax_disp
#Build
scons

For futurev updates to the SVN revision HEAD, you now need to do a git svn rebase, which is very similar to: svn up

git svn rebase

Check information

git branch -a