Skip to content

Instantly share code, notes, and snippets.

@lanrion
Last active August 29, 2015 13:58
Show Gist options
  • Select an option

  • Save lanrion/10015146 to your computer and use it in GitHub Desktop.

Select an option

Save lanrion/10015146 to your computer and use it in GitHub Desktop.
git submodules

1, 有些项目里包含另外一个子git项目(Submodule),那么按照常用的 git clone是不可能顺带把子git项目一起接下来的,所以可以考虑:

git clone --recursive git@xxxx.git
git clone --recursive git@github.com:cloudfoundry/cf-release.git

详细使用文章:

http://ju.outofmemory.cn/entry/44286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment