view scripts/git-config @ 1141:58130f5eecf2 draft

found a bug when sending just '.'... wasn't good.
author epoch <epoch@hacking.allowed.org>
date Sun, 06 Oct 2013 11:45:06 +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