fix: push token always needs repository write access

This commit is contained in:
Robert Wolff 2026-07-17 12:49:35 +02:00
parent 16d8522d56
commit 5fdd06105e
No known key found for this signature in database
GPG key ID: 1614C70AD69A61A1

View file

@ -55,7 +55,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 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.
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, write access is needed.
```shell
~$ git clone https://token@codeberg.org/user/repo.git