aboutsummaryrefslogtreecommitdiff
path: root/cheatsheet.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cheatsheet.txt')
-rw-r--r--cheatsheet.txt3
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