5
クローンに-b
または--branch
フラグを使用して、git repoをクローンして1つのコマンドでタグをチェックアウトしようとすると、あなたのようなエラーに遭遇することがありgit clone -bタグを指定すると警告が表示されます - 警告:リモート分岐が上流のHEADを使用して見つからない
git clone -b v0.8.2 https://github.com/chaoslawful/lua-nginx-module.git
:git clone
コールを経由してタグをチェックアウト
warning: Remote branch v0.8.2 not found in upstream origin, using HEAD instead
Ubuntu 12.04でgitを更新するには、https://gist.github.com/dergachev/5918390を参照してください。 – m14t