小编wbo*_*ond的帖子

git clone -b tag结果 - 警告:在上游源中找不到远程分支,而是使用HEAD

如果您尝试克隆git repo并使用-b--branch标记克隆在单个命令中签出标记:

git clone -b v0.8.2 https://github.com/chaoslawful/lua-nginx-module.git
Run Code Online (Sandbox Code Playgroud)

您可能会遇到如下错误:

warning: Remote branch v0.8.2 not found in upstream origin, using HEAD instead
Run Code Online (Sandbox Code Playgroud)

git

5
推荐指数
1
解决办法
8597
查看次数

标签 统计

git ×1