您的位置:首页 > 其它

git积累

2016-06-29 17:14 330 查看
git branch 查看分支
git checkout moweihong 切换到我自己的分支 git pull origin/moweihong 更新自己分支的代码

有时候git pull origin/moweihong出现如下错误:

fatal:'origin/moweihong' does not appear to be a git repository

fatal: the remote end hung up unexpectedly

改成:

git pull origin moweihong  

这样又ok了

合并分支:

git pull一下

再git merge origin/moweihong

常用命令:
http://www.jb51.net/article/55442.htm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: