view scripts/git-config @ 1187:7ea11723da51 draft

made a couple error messages more informative
author epoch <epoch@hacking.allowed.ano>
date Sun, 19 Feb 2017 13:07:13 +0000
parents c3e4b6c83537
children 2f57d4d36759
line wrap: on
line source

#!/bin/sh
[ -z $2 ] && echo 'Usage: ./scripts/git-config <name> <email>'
[ -z $2 ] && exit 1

git config user.name $1
git config user.email $2