diff options
author | Pratik Raj <rajpratik71@gmail.com> | 2020-05-28 11:06:35 +0530 |
---|---|---|
committer | Pratik Raj <rajpratik71@gmail.com> | 2020-05-28 12:25:17 +0530 |
commit | aeca0e4c909da162b6d4de49a3cc18f6c8487b0b (patch) | |
tree | 79a2ed00057c6ff93609acb17820509dbd8bd64b /docs | |
parent | e276ad30dc38f55e06877df8fd0d3372534c8f47 (diff) |
Issue-ID: PORTAL-913 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 is created at https://jira.onap.org/browse/PORTAL-913
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: I79c7dfb928115ac438738b9bda1017dd6549560f
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tutorials/portal-BE/setting-up.rst | 2 | ||||
-rw-r--r-- | docs/tutorials/portal-sdk/setting-up.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/portal-BE/setting-up.rst b/docs/tutorials/portal-BE/setting-up.rst index 22d7f47b..36448999 100644 --- a/docs/tutorials/portal-BE/setting-up.rst +++ b/docs/tutorials/portal-BE/setting-up.rst @@ -18,7 +18,7 @@ Clone the Portal repository with git: :: - git clone "https://gerrit.onap.org/r/portal" + git clone --depth 1 "https://gerrit.onap.org/r/portal" Building ----------------- diff --git a/docs/tutorials/portal-sdk/setting-up.rst b/docs/tutorials/portal-sdk/setting-up.rst index ce32dbb4..ae03f1a9 100644 --- a/docs/tutorials/portal-sdk/setting-up.rst +++ b/docs/tutorials/portal-sdk/setting-up.rst @@ -18,7 +18,7 @@ Clone the Portal SDK repository with git: :: - git clone http://gerrit.onap.org/r/portal/sdk + git clone --depth 1 http://gerrit.onap.org/r/portal/sdk Building the base ----------------- |