diff mbox series

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

Message ID 36a8ede4c83ff6d88c9d49bd64f1546262934c55.1681579244.git.martin.agren@gmail.com (mailing list archive)
State Accepted
Commit 67ceed1f8250c0a721f955e9d17c2d545c922764
Headers show
Series gittutorial: minor correction and monospacing | expand

Commit Message

Martin Ågren April 15, 2023, 5:29 p.m. UTC
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(-)

Comments

Junio C Hamano April 20, 2023, 9:15 p.m. UTC | #1
Martin Ågren <martin.agren@gmail.com> writes:

> 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`.

True.  The example is a repository created out of a tarball extract
and not a clone of anything.

Will queue.  Thanks.

> 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
diff mbox series

Patch

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