git merge 结果是 git merge Already up-to-date. 该怎么解决?
phpcn_u1582
phpcn_u1582 2017-05-02 09:26:40
0
0
933

我从远程仓库去拉取更新,如果用git pull会得到正常的结果

$ git pull local gaoyx_work
From localhost:~/publicOpinion
 * branch            gaoyx_work -> FETCH_HEAD
Merge made by recursive.
 workDir/dbConnector.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

但是使用git fetchgit merge则不能成功

$ git fetch local gaoyx_work
From localhost:~/publicOpinion
 * branch            gaoyx_work -> FETCH_HEAD
$ git merge local/gaoyx_work
Already up-to-date.

对于git merge不是很懂,不知道是怎么回事,也不知道该怎么解决

phpcn_u1582
phpcn_u1582

全部回复(0)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板