git fetch origin master git log -p master..origin/master
没有任何输出?在github上明明与本地仓库不相同啊。
git merge origin/master
结果是 already up to date 求救。。。。
already up to date
Use
git branch --all
View all local branches, you will find
master * dev remotes/origin/master remotes/origin/dev
git fetch origin
will update your remote branch to the local remote branch
remotes/origin/master remotes/origin/dev
Executing
At this time, the local one
remotes/origin/master 合并到 master 上 你才能看到变化
Use
View all local branches, you will find
will update your remote branch to the local remote branch
Executing
At this time, the local one