summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPratik Raj <rajpratik71@gmail.com>2020-05-28 11:07:09 +0530
committerkrishna moorthy <krishna.moorthy6@wipro.com>2020-08-02 07:48:51 +0000
commitf2706110f72788cb42586275a1c6360ec28274ee (patch)
treef82bb96e9524403617938930e9cfe35e07b4ff14
parent9b01155e3ca2626e6ca7416fbf857bcd92a8ad39 (diff)
Issue-ID: OPTFRA-772 optimization in git clone using --depth
optimize the git clone using --depth flag in term of size of clone and also in term's of time taken to fetch the files and commit history of whole repository . Respective issue with Issue-ID: OPTFRA-772 is created at https://jira.onap.org/browse/OPTFRA-772 More detail can be found at blog https://www.atlassian.com/git/tutorials/big-repositories Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: I6a2f842886fea1e5626e528c93e90eb7e924f7a2
-rw-r--r--docs/sections/installation.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sections/installation.rst b/docs/sections/installation.rst
index c116b8b..d4b93d6 100644
--- a/docs/sections/installation.rst
+++ b/docs/sections/installation.rst
@@ -242,7 +242,7 @@ directory:
.. code:: bash
- $ git clone https://gerrit.onap.org/r/optf/has
+ $ git clone --depth 1 https://gerrit.onap.org/r/optf/has
Cloning into 'conductor'...
remote: Counting objects: 2291, done.
remote: Compressing objects: 88% (1918/2179)