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
2016-01-08 09:38:59 +01:00

19 lines
373 B
Markdown

# 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}}`