TrickySituation TrickySituation - 1 month ago 4
Git Question

save colored output from Git Show

Is there a way to save the colored output from a git show?

I saw the post about using a different editor. But that is a lot more than what I'm trying to do. I just want to capture a report that is visually easy to read.

Answer

Prefix your git command like so

 git -c color.status=always 

And colour will always be produced

Comments