From 0daf89c7d3a71907ca647f5e0b6a854fe50d88b5 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 5 Sep 2015 11:50:20 -0400 Subject: [PATCH] [Doc] Update checkout instructions to handle git submodules --- doc/sphinx/compiling.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/compiling.rst b/doc/sphinx/compiling.rst index 4c42717db..1154de901 100644 --- a/doc/sphinx/compiling.rst +++ b/doc/sphinx/compiling.rst @@ -124,7 +124,7 @@ Stable Release * Option 2: Check out the code using Git:: - git clone https://github.com/Cantera/cantera.git + git clone --recursive https://github.com/Cantera/cantera.git cd cantera git checkout 2.1 @@ -133,7 +133,13 @@ Development Version * Check out the code using Git:: - git clone https://github.com/Cantera/cantera.git + git clone --recursive https://github.com/Cantera/cantera.git + +* Update an existing clone of the Git repo: + cd /path/to/cantera + git fetch + git rebase origin/master + git submodule update --init --recursive Determine configuration options ===============================