You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Yingchun Lai (Code Review)" <ge...@cloudera.org> on 2023/04/03 15:41:43 UTC
[Impala-ASF-CR] fix a url mistake when using "git clone"
Yingchun Lai has posted comments on this change. ( http://gerrit.cloudera.org:8080/19634 )
Change subject: fix a url mistake when using "git clone"
......................................................................
Patch Set 1:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/19634/1/docs/README.md
File docs/README.md:
http://gerrit.cloudera.org:8080/#/c/19634/1/docs/README.md@a15
PS1, Line 15:
I guess the purpose of the command is to reduce the content to download, I'm not sure if an old version of Git supports just clone a subdirectory directly, but AFAIK the 'sparse-checkout' may help, see https://git-scm.com/docs/git-sparse-checkout, I tested the following commands:
git init impala_docs
cd impala_docs
git remote add origin https://gitbox.apache.org/repos/asf/impala.git
git sparse-checkout set docs/
git pull origin master
You'll see only the 'docs/' sub-directory is downloaded.
--
To view, visit http://gerrit.cloudera.org:8080/19634
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib00c37e28e67cca5b3630742b4c366dea4e967b7
Gerrit-Change-Number: 19634
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <li...@foxmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Comment-Date: Mon, 03 Apr 2023 15:41:43 +0000
Gerrit-HasComments: Yes