From c633f4619712a45c6f4a79eeb47891c803656b46 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 28 Nov 2015 10:19:04 +0200 Subject: Add README-GIT on using this project with git (it has submodules) --- README-GIT | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README-GIT (limited to 'README-GIT') diff --git a/README-GIT b/README-GIT new file mode 100644 index 0000000..c6808b7 --- /dev/null +++ b/README-GIT @@ -0,0 +1,19 @@ +This repository uses git submodules, so watch out! Before working with this +repository, make sure you do: + + git config --global fetch.recurseSubmodules on-demand + git config --global status.submoduleSummary true + git config --global diff.submodule log + +To clone this repository, use --recursive: + + git clone --recursive ... + +To pull, you *must* run two commands: + + git pull + git submodule update --init --recursive + +To update submodules to the latest master (remember to commit afterwards): + + git submodule update --remote [submodule] -- cgit v1.1