From 33fbb1eb7ad246cac8f24290e0b23520778919af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20M=C3=BCller?= Date: Fri, 14 Feb 2025 19:09:13 +0000 Subject: [PATCH] agit: Fix description of git push example (#1083) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shown command uses HEAD, so it will push the currently checked out branch. Other non-HEAD examples will be shown further below. Reviewed-on: https://codeberg.org/forgejo/docs/pulls/1083 Reviewed-by: Gusted Reviewed-by: Panagiotis "Ivory" Vasilopoulos Co-authored-by: Rainer Müller Co-committed-by: Rainer Müller --- docs/user/agit-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/agit-support.md b/docs/user/agit-support.md index 68e179d0..9430e988 100644 --- a/docs/user/agit-support.md +++ b/docs/user/agit-support.md @@ -26,7 +26,7 @@ git push origin HEAD:refs/for/main -o topic="agit-typo-fixes" The topic will be visible in the Pull Request and it will be used to associate further commits to the same Pull Request. Under the hood, it is essentially just a branch. -It can also be supplied directly using the `` parameter in the **Refspec**, which will set the topic as `topic-branch` **and** push the **local branch** `topic-branch` instead: +It can also be supplied directly using the `` parameter in the **Refspec**, which will set the topic as `topic-branch` and push the **currently checked out branch**: ```shell # topic-branch is the session parameter and the topic