如果您尝试克隆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 ×1