2. Git V.S. SVN SVN: single repository Git: multiple repository Centralized Version Control System Distributed Version Control System
3. Create a Repository Create New mkdir/home/lydian/mygit.git cd/home/lydian/mygit.git gitinit–bare Clone from existed repository git clone /home/lydian/mygit.gittestgit cdtestgit
4. Create a Repository from Existed Directory Initialize a local git repository cd project gitinit Set Remote commit git remote add origin/home/lydian/mygit.git
5. Commit & Update Local commit current files git add -a git commit -m‘comment’ Remote commit git push origin master Similar tosvn commit Fetch data from remote repository git pull Similar to svn update