Skip to content

Instantly share code, notes, and snippets.

@rainly
Forked from ihower/gist:833113
Created March 23, 2011 09:33
Show Gist options
  • Select an option

  • Save rainly/882843 to your computer and use it in GitHub Desktop.

Select an option

Save rainly/882843 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