summaryrefslogtreecommitdiff
path: root/scripts/git-config
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2012-10-30 05:48:41 +0000
committerd3v11 <d3v11@d3v11.ano>2012-10-30 05:48:41 +0000
commitce39f87d826daf66daf16e205fe9f6152512e87c (patch)
tree14406cfd22781a73a78c59890593294da49f9e10 /scripts/git-config
parent0d368a8857ee13b7906fc88f960c86df41136827 (diff)
downloadresdb-ce39f87d826daf66daf16e205fe9f6152512e87c.tar.gz
resdb-ce39f87d826daf66daf16e205fe9f6152512e87c.zip
[scripts/git-config] change <name> <email>
Diffstat (limited to 'scripts/git-config')
-rwxr-xr-xscripts/git-config6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/git-config b/scripts/git-config
new file mode 100755
index 0000000..bad9a0b
--- /dev/null
+++ b/scripts/git-config
@@ -0,0 +1,6 @@
+#!/bin/sh
+[ -z $2 ] && echo 'Usage: ./scripts/git-config <name> <email>'
+[ -z $2 ] && exit 1
+
+git config user.name $1
+git config user.email $2