Git bash常用命令

checkout方式:
$ git clone  xiaofeng @*.*.*.126:/data/projectname   /e/htdocs/projectname
 
本地增加:
$ git add .
 
本地提交方式:
$ git commit -m "[这里是注释而且一定要写]"
 
上传本地到远程仓库:
$ git push origin master
 
合并远程仓库到本地
$ git pull origin master
 
你可以从google code库中下载到git bash的程序:  http://code.google.com/p/msysgit/ 
git bash的使用基本和在linux下相同,有ls, vim, cd等常用命令.

猜你喜欢

转载自hnlixf.iteye.com/blog/1911310
今日推荐