git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] gittutorial: drop early mention of origin

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Apr 15, 2023, 17:29 UTC
Message-ID
<36a8ede4c83ff6d88c9d49bd64f1546262934c55.1681579244.git.martin.agren@gmail.com>
In-Reply-To
<cover.1681579244.git.martin.agren@gmail.com>

We don't have an origin at this point in the tutorial, so "Your branch is up to date" won't actually show up in the output of `git status`.

This line was introduced in 8942821ec0 ("gittutorial: fix output of 'git status'", 2014-11-13) in what looks like a mistake -- that commit mostly just wanted to remove leading '#' characters.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/gittutorial.txt | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index 0e0b863105..33dd5a2cba 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -109,7 +109,6 @@ summary of the situation with 'git status':
 $ git status
 On branch master
 Changes to be committed:
-Your branch is up to date with 'origin/master'.
   (use "git restore --staged <file>..." to unstage)
 
 	modified:   file1
-- 
2.40.0.406.g2798986c60
Previous: Martin ÅgrenNext: Junio C Hamano
Message 2 of 5 in “gittutorial: minor correction and monospacing”
  1. 0/2 gittutorial: minor correction and monospacingMartin Ågren, Apr 15, 2023
  2. 1/2 gittutorial: drop early mention of originMartin Ågren, Apr 15, 2023
  3. Junio C HamanoApr 20, 2023
  4. 2/2 gittutorial: wrap literal examples in backticksMartin Ågren, Apr 15, 2023
  5. Junio C HamanoApr 20, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.