tldr/pages/common/git-clone.md

20 lines
368 B
Markdown
Raw Normal View History

2015-10-22 08:31:52 +01:00
# git clone
2014-03-09 12:20:13 +00:00
> 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
2015-10-22 08:31:52 +01:00
`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}}`