我已经在cloufforge上建立了一个新的Git仓库并且有一些不寻常的问题。Git:“wildcard refspec”在远程时没有匹配,当拉动时
When I do a git pull origin master
From https://dndigital.git.cloudforge.com/project
* branch master -> FETCH_HEAD
Already up-to-date.
但如果同事不一样,他保持了一遍又一遍sgetting相同的消息,没有得到“已跟上时代的”
remote: Counting objects: 85, done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 76 (delta 59), reused 19 (delta 13)
Unpacking objects: 100% (76/76), done.
From https://dndigital.git.cloudforge.com/project
* branch master -> FETCH_HEAD
There are no candidates for merging among the refs that you just fetched.
Generally this means that you provided a wildcard refspec which had no
matches on the remote end.
为什么会出现这种情况吗?
更新:
我尝试了建议的答案,看不出任何问题。但似乎问题在于我们使用不同的git客户端。看来,拥有不同版本的Git客户端可能会出现问题。那真的很复杂。有没有办法将Git的功能限制到某个特定的git版本,以便最早的Git客户端仍然可以工作?
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://[email protected]/project.git
[branch "master"]
remote = origin
merge = refs/heads/master
[user]
name =
email =
[giggle]
file-view-path = agile/includes/SiteConfig.php
[gui]
wmstate = zoomed
geometry = 787x379+512+242 248 420
当我尝试从挂载(读取sshfs)目录中取出时发生在我身上。 – itsashis4u