1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 07:18:29 +01:00
tldr/pages/common/git-clone.md
Charles Tang 3142f57a61 git-clone with --depth argument
when use git-clone with --depth argument will save your time
remove following space of lines which will cause trouble in index
building.
2015-12-25 19:19:32 +08:00

368 B

git clone

Clone an existing repository

  • Clone an existing repository

git clone {{REMOTE-REPOSITORY-LOCATION}}

  • For cloning from the local machine

git clone -l

  • Do it quietly

git clone -q

  • Clone an existing repository, and truncate to the specified number of revisions, save your time mostly

git clone --depth 10 {{REMOTE-REPOSITORY-LOCATION}}