git 常用命令

时间:2017-01-05 19:02:19   收藏:0   阅读:191

#下载代码

git clone http://12.git

#切换分支

git checkout develop

#更新代码

git pull

#提交.所有  #撤销提交

git add .   git reset .

#写注释

git commit -m‘注释‘

#提交远程分支

git push origin develop

#更新分支列表

git fetch origin --prune

原文:http://jinliang.blog.51cto.com/8981814/1889282

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!