Skip to content

Instantly share code, notes, and snippets.

@JohnL4
Created November 28, 2018 17:20
Show Gist options
  • Save JohnL4/505ecac59f0dd032bff343be4fbb10ea to your computer and use it in GitHub Desktop.
Save JohnL4/505ecac59f0dd032bff343be4fbb10ea to your computer and use it in GitHub Desktop.
git color settings for PowerShell
<#
Default git color settings ("red", "green") for powershell are too dim to read easily. Rather than finagle the window colors (which
probably interferes with other Windows tools (PSCX, PowerTab) that assume certain color settings), we change the colors in git.
#>
git config --global color.status.added "bold green"
git config --global color.status.untracked "bold red"
git config --global color.status.nobranch "bold red red" # Bright red on dim red
# Could also just use the following if you don't want to mess around with color at all:
git config --global color.status "never"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment