Got these things from Owie:
link: http://utsl.gen.nz/talks/git-svn/intro.html#howto-track-svn
Tips:
Updating tree from SVN
Essentially equivalent to an svn up
* git-svn fetch
* git rebase remotes/git-svn
Also:
1. Create a new directory where the project will be checked out.
2. Initialize the newly-created directory: git init-db
3. git-svn init [path of your repo]
4. Fetch HEAD from SVN. Please take note that Git does not accept 'HEAD' - you will need to derive the exact revision that corresponds to HEAD: git-svn fetch -r xxxx
5. git checkout master
I've been putting off using git for a while but I am trying to practice using it now.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment