I recently purchased a new machine and had to configure Git again. The email/user setup it reminds you of but I couldn't remember how to configure color output without some digging. So I decided to share it here just in case anyone else may find it useful.
This file contains 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
git config --global user.name "Your Name Comes Here" | |
git config --global user.email you@yourdomain.example.com | |
git config --global core.editor "vim" | |
git config --global core.excludesfile ~/.gitignore | |
git config --global color.diff auto | |
git config --global color.status auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |