Created
November 28, 2018 17:20
-
-
Save JohnL4/505ecac59f0dd032bff343be4fbb10ea to your computer and use it in GitHub Desktop.
git color settings for PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
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