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

Re: a more helpful message on "git status" output

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jul 21, 2014, 10:20 UTC
Message-ID
<vpqtx6bnhce.fsf@anie.imag.fr>
In-Reply-To
<xmqqy4vql6c2.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 14 quoted lines
> Julián Landerreche <maniqui@gmail.com> writes:
>
>> OK, I'm mostly convinced.
>> A more verbose, educational output could read:
>>
>>   (use "git pull" to fetch newer commits from upstream and update your
>> local branch)
>>   (use "git merge" to update your local branch)
>
> I actually do not like that, to be honest.
>
> These brief reminders should be just that, and if anything, we
> should aim to make them shorter and more concise, not longer and
> more verbose.

I think so too. For someone not willing to read the doc, the current message is sufficient, and for someone willing to read it, the output of "git status" is IHMO not a good place to teach the difference between merge and pull.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Junio C Hamano
Message 6 of 6 in “a more helpful message on "git status" output”
  1. Julián LanderrecheJul 18, 2014
  2. Junio C HamanoJul 18, 2014
  3. Julián LanderrecheJul 18, 2014
  4. Jonathan NiederJul 18, 2014
  5. Junio C HamanoJul 18, 2014
  6. Matthieu MoyJul 21, 2014

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.