summaryrefslogtreecommitdiff
path: root/.config/git
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-04-10 15:09:28 +0200
committerben <benjaminfranzke@googlemail.com>2010-04-10 15:09:28 +0200
commitd4c74f060800fd783951996e31741b4cdb46ee22 (patch)
treecd7846747e993b346c385b923a394f6085d13f6d /.config/git
parent5b3a0ae9b5c09d99ca7e5a1bdc2fa1374fb11409 (diff)
downloaddotfiles-d4c74f060800fd783951996e31741b4cdb46ee22.tar.gz
dotfiles-d4c74f060800fd783951996e31741b4cdb46ee22.tar.bz2
dotfiles-d4c74f060800fd783951996e31741b4cdb46ee22.zip
add echo for git configuring
Diffstat (limited to '.config/git')
-rwxr-xr-x.config/git/configure.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/.config/git/configure.sh b/.config/git/configure.sh
index 08a7ca3..523b937 100755
--- a/.config/git/configure.sh
+++ b/.config/git/configure.sh
@@ -1,7 +1,12 @@
#!/bin/bash
-git config --global branch.master.remote origin
-git config --global branch.master.merge refs/heads/master
+do_echo() {
+ echo $@
+ eval $@
+}
-git config --global user.name ben
-git config --global user.email benjaminfranzke@googlemail.com
+do_echo git config --global branch.master.remote origin
+do_echo git config --global branch.master.merge refs/heads/master
+
+do_echo git config --global user.name ben
+do_echo git config --global user.email benjaminfranzke@googlemail.com