Skip to content

Instantly share code, notes, and snippets.

@yrgoldteeth
Last active October 26, 2018 21:52
Show Gist options
  • Save yrgoldteeth/6159493 to your computer and use it in GitHub Desktop.
Save yrgoldteeth/6159493 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 nick@ndfine.com
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