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

Re: Verbose output of git commands

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Jul 5, 2009, 14:06 UTC
Message-ID
<vpqocrz5imu.fsf@bauges.imag.fr>
In-Reply-To
<20090705105856.GC5689@laptop>
Daniel Trstenjak <Daniel.Trstenjak@online.de> writes:
Show 21 quoted lines
> E.g:
> git status
>
> file: needs merge
> # Not currently on any branch.
> # Changed but not updated:
> #   (use "git add <file>..." to update what will be committed)
> #   (use "git checkout -- <file>..." to discard changes in working directory)
> #
> #       unmerged:   file
> #
> # Untracked files:
> #   (use "git add <file>..." to include in what will be committed)
> #
> #       init
>
>
> The core information is just:
>
> unmerged : file
> untracked: init
The
# Not currently on any branch.
also contains some relevant information.
> It would be nice to be able to configure an expert mode, in which only
> the core information of the git commands is printed out.

Agreed, but even without that, I find 'ui.color = true' to solve most of the issue: the relevant text is shown colored, and the color tells me whether the change is staged or not. So, I can still concentrate on the important.

Other than that, "git diff --name-status" can help, too.
-- 
Matthieu
Previous: Daniel Trstenjak
Message 2 of 2 in “Verbose output of git commands”
  1. Daniel TrstenjakJul 5, 2009
  2. Matthieu MoyJul 5, 2009

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.