threads / discuss / 32053

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

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

## tl;dr

2 messages between Nov 10, 2012 and Nov 11, 2012.

replies: 1people: 2as markdown or json

Jason Timrod· Nov 10, 2012, 11:04 UTC · lore
Hi,
I've been rooting around the "git-config" man page as well as the "git-status" man page, but couldn't find the following, which suggests it's not (yet) possible.
I'm looking for a way to make the "-sb" options to git-status the default somehow.  That is, I would like the short form of git-status to be the default when typing in "git status".  I appreciate I am able to do this in an indirect way using aliases, but this is slightly suboptimal for me.
If this isn't possible directly, would someone mind considering this a feature request?
Out of interest, would this be done via the git-config system, most likely?
Thanks kindly,
Jason
Ramkumar Ramachandra· Nov 11, 2012, 10:50 UTC · re: Jason Timrod · lore

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

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

← back to recent threads