From 30a2a9048ca39101a7d1699d5a4497acb43fb185 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 28 Nov 2015 19:28:59 +0200 Subject: Improve notes on using submodules --- cheatsheet.txt | 3 +++ 1 file changed, 3 insertions(+) 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 ../.git # Project path interpreted relative to + # our remote. + git submodule update --init # init and update git clone --recursive # same as doing above manually -- cgit v1.1