view scripts/git-config @ 1084:93106436f24f draft

allow arguments for ./git-commit and ./gitd
author SeekingFor <nobody@nowhere>
date Sat, 16 Mar 2013 13:03:25 +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