On Fri, May 5, 2017 at 4:02 PM, Harry Putnam <rea...@newsguy.com> wrote:
> This is probably what everyone sees:
>
> When I run `git status'; I see  modified and newfiles scrambled together
>
> Is there a trick or technique to make that output show each category
> separately?
>
> Or do folks just a throw a `sort' in there (git status|sort) and lose
> the color ouput?

If you set color.ui=auto it'll disable coloring when it detects that
the output isn't to a terminal, i.e. being piped.

It sounds like you want:

    git -c color.ui=always status --short|sort

But there's no native option to sort the status output, but that'll do
it for you.

Reply via email to