Skip to content

Instantly share code, notes, and snippets.

@yrgoldteeth
Created August 7, 2013 18:43
Show Gist options
  • Save yrgoldteeth/6177144 to your computer and use it in GitHub Desktop.
Save yrgoldteeth/6177144 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
git config -l | grep -q -i nicholas
if [ $? -ne 0 ]
then
echo "Setting Git Configs (username, email, color.ui)"
git config --global user.name "Nicholas Fine"
git config --global user.email [email protected]
git config --global color.ui true
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment