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

Re: git-status: Use "-sb" options by default?

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Nov 11, 2012, 10:50 UTC
Message-ID
<CALkWK0mjbZtvMrCnf1Du1aTiPPq10wmiTJAf=AW8ECwPiYzBwQ@mail.gmail.com>
In-Reply-To
<1352545457.32390.YahooMailNeo@web160304.mail.bf1.yahoo.com>
Jason Timrod wrote:
> I'm looking for a way to make the "-sb" options to git-status the default somehow.

I've aliased `git status` to `git status -sb` too, and I think it's a very sensible default; who wants to see

  # Changes not staged for commit:
  #   (use "git add <file>..." to update what will be committed)
  #   (use "git checkout -- <file>..." to discard changes in working directory)
over and over again?

Maybe a status.shortWithBranch is in order? However, I don't know if we can have one configuration option that turns on both `-s` and `-b`.

Ram
Previous: Jason Timrod
Message 2 of 2 in “git-status: Use "-sb" options by default?”
  1. Jason TimrodNov 10, 2012
  2. Ramkumar RamachandraNov 11, 2012

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.