computing:git:clone-remote-repo
Differences
This shows you the differences between two versions of the page.
| computing:git:clone-remote-repo [2026/08/28 09:37] – created oscar | computing:git:clone-remote-repo [2026/08/28 09:38] (current) – oscar | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| origin http:// | origin http:// | ||
| origin http:// | origin http:// | ||
| - | |||
| </ | </ | ||
| + | ==== Usefull alternatives ==== | ||
| + | < | ||
| + | # Clone into a specific folder name | ||
| + | git clone < | ||
| + | # Clone only a specific branch | ||
| + | git clone -b branch-name < | ||
| + | |||
| + | # Shallow clone (only latest commit, faster for large repos) | ||
| + | git clone --depth 1 < | ||
| + | </ | ||
computing/git/clone-remote-repo.1787909867.txt.gz · Last modified: by oscar
