Created
September 25, 2012 18:54
-
-
Save skinp/3783724 to your computer and use it in GitHub Desktop.
Setup git environment
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
#!/bin/bash | |
if [ $# -ne 2 ] | |
then | |
echo "Usage: $0 <name> <email>" | |
exit 1 | |
fi | |
git config --global user.name $1 | |
git config --global user.email $2 | |
git config --global credential.helper cache | |
git config --global color.ui 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment