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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 20, 2023, 21:15 UTC
Message-ID
<xmqqr0sexnk0.fsf@gitster.g>
In-Reply-To
<36a8ede4c83ff6d88c9d49bd64f1546262934c55.1681579244.git.martin.agren@gmail.com>
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.
Show 12 quoted lines
> 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
Previous: Martin ÅgrenNext: Martin Ågren
Message 3 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.