summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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