Created
December 14, 2011 01:01
-
-
Save hammerdr/1474709 to your computer and use it in GitHub Desktop.
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/sh | |
USER=$(git config --global user.name) | |
EMAIL=$(git config --global user.email) | |
if [ -z "$USER" ]; then | |
echo "Please set your name in your git config:" | |
echo " git config --global user.name <name>" | |
exit 1 | |
fi | |
if [ -z "$EMAIL" ]; then | |
echo "Please set your email in your git config:" | |
echo " git config --global user.email <name>" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment