From d165b743776db6cbe48d44bc4c269f7e59d87222 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 16 Apr 2019 15:36:24 +0200
Subject: [PATCH] git clone --recurse-submodules is now the recommended option
 for cloning with submodules

---
 CONTRIBUTING.md | 2 +-
 README.md       | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ad1942620..5db22f392 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -45,7 +45,7 @@ So, now you've reported the bug or asked for an enhancemnt by creating a GitHub
 Now, if you want to go the extra mile, you'll volunteer to contribute code to fix the GitHub issue you created above. Once we've agreed that you'll do it, please do the following:
 
 1. Clone the Dynare repository:
-   * `git clone https://git.dynare.org/Dynare/dynare.git`
+   * `git clone --recurse-submodules https://git.dynare.org/Dynare/dynare.git`
 1. [Fork the Dynare repository](https://help.github.com/articles/fork-a-repo)
 1. Change into the `dynare` folder and add the forked repository as a remote:
    * `cd dynare`
diff --git a/README.md b/README.md
index 21a61bc95..bad1f56da 100644
--- a/README.md
+++ b/README.md
@@ -88,7 +88,7 @@ If you have downloaded the sources from an official source archive or the source
 
 If you want to use Git, do the following from a terminal:
 
-    git clone --recursive https://git.dynare.org/Dynare/dynare.git
+    git clone --recurse-submodules https://git.dynare.org/Dynare/dynare.git
     cd dynare
     autoreconf -si
 
@@ -256,7 +256,7 @@ cd ..
 ```
 - Clone and prepare the Dynare sources:
 ```
-git clone --recursive https://git.dynare.org/Dynare/dynare.git
+git clone --recurse-submodules https://git.dynare.org/Dynare/dynare.git
 cd dynare
 autoreconf -si
 ```
@@ -320,7 +320,7 @@ The following commands will download the Dynare source code and compile
 it. They should be entered at the command prompt in Terminal.app from the
 folder where you want Dynare installed.
 
-- `git clone https://git.dynare.org/Dynare/dynare.git`
+- `git clone --recurse-submodules https://git.dynare.org/Dynare/dynare.git`
 - `cd dynare`
 - `PATH="/usr/local/opt/bison/bin:/usr/local/opt/flex/bin:$PATH"`
 - `autoreconf -si`
-- 
GitLab