Skip to contentSkip to conversation

Fix documentation for git checkout command

PATCH Applied [email protected] 2 participants 3 messages Jun 20, 2025 – Jun 23, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

cover Fix documentation for git checkout command

From: Bo Sun <[email protected]>

This patch fixes a minor error in the Barebox documentation where the git checkout command uses incorrect remote branch syntax.

Bo Sun (1):
docs: fix git checkout command for next branch

 Documentation/user/barebox.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.49.0
#1 lore raw

PATCH 1/1 docs: fix git checkout command for next branch

From: Bo Sun <[email protected]>

Correct the remote branch reference from 'origin/remotes/next' to 'remotes/origin/next' in the documentation.

---
 Documentation/user/barebox.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/user/barebox.rst +1 -1
index 149f0f535e..67cf93eb71 100644
@@ -36,7 +36,7 @@ you can look at the ``next`` branch:
 
 .. code-block:: console
 
-  $ git checkout -b next origin/remotes/next
+  $ git checkout -b next remotes/origin/next
 
 A web interface to the repository is available at
 https://git.pengutronix.de/cgit/barebox
Signature · 1 line
2.49.0
Applied
#2 lore raw

Re: [PATCH 1/1] docs: fix git checkout command for next branch

Quoted 4 lines · On Fri, 20 Jun 2025 21:58:35 +0800, [email protected] wrote:

Correct the remote branch reference from 'origin/remotes/next' to 'remotes/origin/next' in the documentation.

Applied, thanks!

[1/1] docs: fix git checkout command for next branch
https://git.pengutronix.de/cgit/barebox/commit/?id=8d66df984daa (link may not be stable)

Best regards,

Signature · 1 line
Sascha Hauer <[email protected]>