]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gittutorial: drop early mention of origin
authorMartin Ågren <martin.agren@gmail.com>
Sat, 15 Apr 2023 17:29:10 +0000 (19:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Apr 2023 21:34:07 +0000 (14:34 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gittutorial.txt

index 0e0b863105b104b706d3cc75b4d3998a4abe580f..33dd5a2cbaab45f2928c462705ad7b6f190c7a10 100644 (file)
@@ -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