annotate scripts/git-config @ 1155:0b86930fbcff draft

Merge branch 'master' of git://git.sfor.ano/resdb
author SeekingFor <SeekingFor@sfor.something>
date Fri, 20 Dec 2013 20:26:22 +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