Windows Git安装
1. 下载地址
a) http://code.google.com/p/tortoisegit/wiki/Download
tortoise类tortoise svn方式使用git。
b)http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git
git bash 方式使用git
2. 个人使用git bash。
这是一个MinGW方式,通过命令行来使用git,比较方便。
说明:使用前需要config 用户名和邮箱。
3. Git 命令行基本命令
git clone git@github.com.someproject
git commit -m "some comments" -a
git commit -m "some comments" test.c
git add somefile.c
git commit -m "some comments"
git branch
git merge branchname
git tag v1.0
git rm somfile.c