mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-08-15 14:53:29 -07:00
docs: add clone operation, wish -> want
This commit is contained in:
parent
e7fe2eee03
commit
1186f54db5
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ remote: Total 3 (delta 0), reused 0 (delta 0)
|
|||
Unpacking objects: 100% (3/3), 214 bytes | 1024 bytes/s, done.
|
||||
```
|
||||
|
||||
If you wish to clone a private repository, simply add an [access token](/advanced/access-token/) from your account into the URL passed to `git clone`. If you only wish to fetch repositories, the token only needs read access. If you wish to push to the repository and have 2FA enabled, write access is needed.
|
||||
If you wish to clone a private repository, simply add an [access token](/advanced/access-token/) from your account into the URL passed to `git clone`. If you only want to clone or fetch from the repository, the token only needs read access. If you want to push to the repository and have 2FA enabled, write access is needed.
|
||||
|
||||
```shell
|
||||
~$ git clone https://token@codeberg.org/user/repo.git
|
||||
|
|
|
|||
Loading…
Reference in a new issue