1
swulling 2013 年 5 月 9 日 fetch下来看,不要用pull,pull会自动merge
|
2
hhrmatata OP @swulling 通过你的提示,我找到了完整的命令。
git fetch origin master:tmp git diff tmp git merge tmp git branch -d tmp 从远程获取最新的版本到本地的tmp分支上 之后再进行比较合并 来源:http://hubingforever.blog.163.com/blog/static/171040579201233092913756/ |
3
hhrmatata OP 没有命令能够比较本地仓库和服务器仓库的最后提交时间吗?时间在后的应该就是更新的版本
|
4
bitsmix 2013 年 6 月 1 日 via iPhone git log origin/master
|
5
henryzhou 2013 年 6 月 1 日
git ls-remote
|
6
hhrmatata OP |