mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-10 16:54:33 +02:00
Git: added more clone options
This commit is contained in:
@@ -232,6 +232,10 @@ to a remote branch.
|
|||||||
```bash
|
```bash
|
||||||
# Clone learnxinyminutes-docs
|
# Clone learnxinyminutes-docs
|
||||||
$ git clone https://github.com/adambard/learnxinyminutes-docs.git
|
$ git clone https://github.com/adambard/learnxinyminutes-docs.git
|
||||||
|
# shallow clone - faster cloning that pulls only latest snapshot
|
||||||
|
$ git clone --depth 1 https://github.com/adambard/learnxinyminutes-docs.git
|
||||||
|
# clone only a specific branch
|
||||||
|
$ git clone -b master-cn https://github.com/adambard/learnxinyminutes-docs.git --single-branch
|
||||||
```
|
```
|
||||||
|
|
||||||
### commit
|
### commit
|
||||||
|
Reference in New Issue
Block a user