diff --git a/pull.sh b/pull.sh index 02fc61d..0d1a1a1 100644 --- a/pull.sh +++ b/pull.sh @@ -1,5 +1,8 @@ #!/bin/bash -if [ -f ~/git/dotfiles ] ; then - git config pull.rebase false - (cd ~/git/dotfiles && git pull) # test if work -fi \ No newline at end of file +if [ -d ~/git/dotfiles ] ; then + (git config --global user.email "matt@nelim.org" + git config --global user.name "matt1432" + cd ~/git/dotfiles && + git config pull.rebase false && + git pull) # test if work +fi