2017-06-26 39 views
0

gitで特定のタグの再帰的クローンを実行するには?私は次のコマンドのリストがそれを行うことを知っています。しかし、より短い方法がありますか?gitで特定のタグを再帰的にクローンする方法

$ git clone https://github.com/user/repo.git 
$ cd repo 
$ git checkout tags/<tag-name> 
$ git submodule update --init --recursive 

答えて

1

再帰的なクローン1行でタグ:

git clone --recursive --branch <tag-name> https://github.com/user/repo.git 
関連する問題