From a1c665abce3ebab1054d1bbc2f4ca28acb6346eb Mon Sep 17 00:00:00 2001 From: Ibrahim Abd Elkader Date: Wed, 28 Jul 2021 03:38:28 +0200 Subject: [PATCH] Update README.md --- src/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index 519806200..f1d33d23c 100644 --- a/src/README.md +++ b/src/README.md @@ -42,7 +42,18 @@ Finally, you need to install the OpenMV GitHub Repo. In Linux, `cd` in a termina git clone --recursive https://github.com/openmv/openmv.git -However, if you are interested in submitting code fixes back to us you will need to fork our repo first and clone your fork so that you can send pull requests. You need to fork these two repos: +Note the above command will clone this repository and every submodule recursively, which may take a very long to complete. Alternatively, you can do the following for a much faster clone: + +``` +git clone --depth=1 https://github.com/openmv/openmv.git +cd openmv +git submodule update --init --depth=1 --no-single-branch +git -C src/micropython/ submodule update --init --depth=1 +``` + +### Setting up your own fork + +If you are interested in submitting code fixes back to us you will need to fork our repo first and clone your fork so that you can send pull requests. You need to fork these two repos: https://github.com/openmv/openmv.git https://github.com/openmv/micropython.git