【发布时间】:2022-11-24 01:22:15
【问题描述】:
我是 git repo 的合作者,当我想使用命令“git pull origin main”进行拉取时,它说:
来自https://github.com/Joty46/KutiBari
* 主要分支 -> FETCH_HEAD
已经是最新的了。
但是我的本地存储库没有更新,我无法提取并尝试了很多解决方案,但没有任何效果。谁能帮忙?提前致谢。
https://saywebsolutions.com/blog/git-github-error-fatal-couldnt-find-remote-ref-master
我尝试了上述链接中的解决方案,但我停留在第 3 步。它说:
致https://github.com/Joty46/KutiBari.git
! [remote rejected] master(拒绝删除当前分支:refs/heads/master)
错误:无法将一些引用推送到“https://github.com/Joty46/KutiBari.git”
第4步我也试过了,也没用。
【问题讨论】: