Mercurial > hg > anonet-resdb
annotate scripts/git-config @ 1195:5864e4d57d8a draft
add IPv6 and git addresses
author | cathugger <cathugger@cock.li> |
---|---|
date | Fri, 10 Mar 2017 04:07:50 +0000 |
parents | 2f57d4d36759 |
children |
rev | line source |
---|---|
1048
c3e4b6c83537
[scripts/git-config] change <name> <email>
d3v11 <d3v11@d3v11.ano>
parents:
diff
changeset
|
1 #!/bin/sh |
1193
2f57d4d36759
add muh nameserver, some script tweaks
cathugger <cathugger@cock.li>
parents:
1048
diff
changeset
|
2 [ -z $2 ] && echo "Usage: $0 <name> <email>" >&2 |
1048
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 |