Wednesday, May 09, 2007

Git basics

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.

No comments:

Labels

Blog Archive

The Learner

My photo

a crafty cat who loves food, linux, anime and crafting.

business analyst by day, blogger by night. also a frustrated artist.

Connect