annotate scripts/git-config @ 1166:e991761c3da8 draft

check_db_safety: allow - in domain names and dns server names, escape - correctly for tr -d
author SeekingFor <nobody@nowhere>
date Wed, 16 Apr 2014 05:16:49 +0000
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