赞
踩
git checkout master
- git pull origin master
- //不管什么操作,保险起见还是pull
- git merge dev
- //如果有冲突,手动解决冲突就行。
- git status
-
- On branch master Your branch is ahead of 'origin/master' by 12 commits. (use "git push" to publish your >local commits) nothing to
- commit, working tree clean
-
- //上面的意思就是你有12个commit,需要push到远程master上
-
- > 最后执行下面提交命令
- git push origin master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。