【发布时间】:2020-09-14 05:17:41
【问题描述】:
我创建了一个新分支并签出:
git checkout -b new
然后检查远程分支:
git branch -r
等在列表中:
origin/development
我正在尝试将代码从这个分支拉到我的新分支中,但出现错误:
fatal: 'development' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我正在使用 git pull 开发
我还签入了 .git/config 并设置了远程来源:
[remote "origin"]
url = https://gitlab.com/myCompany/front.git
为什么我不能从远程分支拉取代码?
【问题讨论】:
标签: git