Mercurial > hg > anonet-resdb
annotate scripts/git-config @ 1260:f5ad11b817f1 draft default tip master
switched to using the git subdomain for git repo url
author | epoch <epoch@hack.thebackupbox.net> |
---|---|
date | Sat, 09 Oct 2021 09:21:28 +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 |