added the field "To clone spacific branch" (#18649)
This commit is contained in:
committed by
Quincy Larson
parent
2765c8c864
commit
2107d6a8c2
@@ -49,5 +49,13 @@ After mirroring a repository, you can clone your local mirror from your server.
|
|||||||
git clone NAME-OF-DIRECTORY-ON-COMPUTER
|
git clone NAME-OF-DIRECTORY-ON-COMPUTER
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### To clone a spacific branch
|
||||||
|
|
||||||
|
If you want to clone a spacific branch, you can do that by the following command.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git clone URL-OF-REPOSITORY -R branch_name
|
||||||
|
```
|
||||||
|
|
||||||
### More Information:
|
### More Information:
|
||||||
- Git documentation: [clone](https://git-scm.com/docs/git-clone)
|
- Git documentation: [clone](https://git-scm.com/docs/git-clone)
|
||||||
|
Reference in New Issue
Block a user