无法从命令提示符找到新创建的 git 远程分支
Unable to find the newly created git remote branch from command prompt
配置的 git 存储库可以在本地正常运行。然后我从 git 网络界面为新任务创建了新分支。现在的问题是无法检出新创建的分支。
git checkout new-branch-name
给出以下消息。
error: pathspec 'dev-SE-1844' did not match any file(s) known to git.
也尝试使用命令 git branch -r
但无法在列表中找到创建的分支。
你必须先做一个git fetch
,希望对你有帮助
配置的 git 存储库可以在本地正常运行。然后我从 git 网络界面为新任务创建了新分支。现在的问题是无法检出新创建的分支。
git checkout new-branch-name
给出以下消息。
error: pathspec 'dev-SE-1844' did not match any file(s) known to git.
也尝试使用命令 git branch -r
但无法在列表中找到创建的分支。
你必须先做一个git fetch
,希望对你有帮助