Thursday, April 16, 2009

messing arround with git

so far i learned that to use git,
1)go to the directory that you would like to work on

2)enter the command $ git init
git will echo back
"Initialized empty Git repository in .git/"

3)take a snapshot of the contents in the directory
$ git add .

4)to store the contents perminatly
enter $ git commit

5)create experimental copy
$ git branch experimental

6)change between copies
enter $ git checkout experimental

No comments:

Post a Comment