2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gclientでgitのリポジトリをcloneする方法

Posted at

google製のSCM管理ツールgclient
このツールではsvnとgitのリポジトリからソースを落としてこれる

svnかgit、どちらのツールでソースを落としてくるのかはURLでも制御できるみたい

svnでcheckoutされるURLは
http://
https://
svn://
svn+ssh://
で始まる場合

gitでcloneされるURLは
git://
ssh://
git+http://
git+https://
で始まる場合と
.git
で終わる場合

ただし、
git+https://foo@code.google.com/p/bar/
という感じで途中で@が含まれるURLを指定すると
@以降が削除されて上手く動かないみたい

まだ他にも指定方法があるみたいだけどよくわからない

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?