From 5fdd06105e421e3648a6d166fb7f11c1092df3e9 Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Fri, 17 Jul 2026 12:49:35 +0200 Subject: [PATCH] fix: push token always needs repository write access --- content/git/clone-commit-via-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/git/clone-commit-via-cli.md b/content/git/clone-commit-via-cli.md index 34703af..ee566c4 100644 --- a/content/git/clone-commit-via-cli.md +++ b/content/git/clone-commit-via-cli.md @@ -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