1 2 3 4 5 6
#!/bin/sh [ -z $2 ] && echo "Usage: $0 <name> <email>" >&2 [ -z $2 ] && exit 1 git config user.name $1 git config user.email $2