comparison scripts/git-config @ 1193:2f57d4d36759 draft

add muh nameserver, some script tweaks
author cathugger <cathugger@cock.li>
date Fri, 10 Mar 2017 03:30:16 +0000
parents c3e4b6c83537
children
comparison
equal deleted inserted replaced
1192:a0de6dd1652e 1193:2f57d4d36759
1 #!/bin/sh 1 #!/bin/sh
2 [ -z $2 ] && echo 'Usage: ./scripts/git-config <name> <email>' 2 [ -z $2 ] && echo "Usage: $0 <name> <email>" >&2
3 [ -z $2 ] && exit 1 3 [ -z $2 ] && exit 1
4 4
5 git config user.name $1 5 git config user.name $1
6 git config user.email $2 6 git config user.email $2