mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Git: added more clone options
This commit is contained in:
parent
7b7ce666b6
commit
037ff22ef6
@ -232,6 +232,10 @@ to a remote branch.
|
||||
```bash
|
||||
# Clone learnxinyminutes-docs
|
||||
$ 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
|
||||
|
Loading…
Reference in New Issue
Block a user