Skip to content

Instantly share code, notes, and snippets.

@ihower
Created February 18, 2011 01:45
Show Gist options
  • Save ihower/833113 to your computer and use it in GitHub Desktop.
Save ihower/833113 to your computer and use it in GitHub Desktop.
#!/bin/sh
user_email=$(git config --get user.email)
if [ "$user_email" == "[email protected]" ]
then
echo "ERROR: Please setup git pair authors!"
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment