我已经高低探索了解这一点,我觉得它只是滑过我的手指.这里有类似但不完全相同的QnAs.
问题:
$ git pull
Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.
Run Code Online (Sandbox Code Playgroud)
虽然git fetch没有给出任何东西,其次是git merge origin说Already up-to-date.,这是我所期望的git pull"正常"工作.
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "official"]
url = git://github.com/freenet/wininstaller-official.git
fetch = +refs/heads/*:refs/remotes/official/*
[remote "origin"]
url = git://github.com/freenet/wininstaller-staging.git
fetch = +refs/heads/*:refs/remotes/origin/*
tagopt = --tags
[branch "master"]
remote = origin
merge = refs/heads/master …Run Code Online (Sandbox Code Playgroud) git ×1