From f2706110f72788cb42586275a1c6360ec28274ee Mon Sep 17 00:00:00 2001 From: Pratik Raj Date: Thu, 28 May 2020 11:07:09 +0530 Subject: 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 Change-Id: I6a2f842886fea1e5626e528c93e90eb7e924f7a2 --- docs/sections/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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) -- cgit 1.2.3-korg