diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-28 19:28:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-28 19:28:59 +0200 |
commit | 30a2a9048ca39101a7d1699d5a4497acb43fb185 (patch) | |
tree | a43256a39877917860652690d633a77d306e26d4 | |
parent | 1c61b2d46b2d19db3251f7ca73e3621164a38ca4 (diff) |
Improve notes on using submodules
-rw-r--r-- | cheatsheet.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cheatsheet.txt b/cheatsheet.txt index dfbf5ea..92bc1e5 100644 --- a/cheatsheet.txt +++ b/cheatsheet.txt @@ -182,6 +182,9 @@ Submodules git config --global status.submoduleSummary true git config --global diff.submodule log + git submodule add ../<proj>.git <dir> # Project path interpreted relative to + # our remote. + git submodule update --init # init and update git clone --recursive # same as doing above manually |