annotate scripts/git-config @ 1179:257963a22c03 draft

Updated DNS servers for UCIS.ano
author Ivo Smits <Ivo@UCIS.nl>
date Sun, 18 Oct 2015 23:12:32 +0200 (2015-10-18)
parents c3e4b6c83537
children 2f57d4d36759
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1048
c3e4b6c83537 [scripts/git-config] change <name> <email>
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
1 #!/bin/sh
c3e4b6c83537 [scripts/git-config] change <name> <email>
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
2 [ -z $2 ] && echo 'Usage: ./scripts/git-config <name> <email>'
c3e4b6c83537 [scripts/git-config] change <name> <email>
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
3 [ -z $2 ] && exit 1
c3e4b6c83537 [scripts/git-config] change <name> <email>
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
4
c3e4b6c83537 [scripts/git-config] change <name> <email>
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
5 git config user.name $1
c3e4b6c83537 [scripts/git-config] change <name> <email>
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
6 git config user.email $2