From 2a9839afc14550535f8c813aa6bbe042a01385ec Mon Sep 17 00:00:00 2001 From: steveokard Date: Tue, 26 Mar 2019 22:05:09 -0400 Subject: [PATCH] reinstate git init and submodule init --- init.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/init.sh b/init.sh index 9a51566..ec07d34 100755 --- a/init.sh +++ b/init.sh @@ -38,6 +38,17 @@ then ./spacemacs.zsh fi +echo -n "Would you like to configure your git name and email? (y/n) => "; read answer +if [[ $answer = "Y" ]] || [[ $answer = "y" ]]; then + echo -n "What is your git user name => "; read name + git config --global user.name "$name" + echo -n "What is your git email => "; read email + git config --global user.email "$email" +fi + +echo "Initializing Submodules" +git submodule init && git submodule update + echo "*******************************" echo "* Restart your terminal *" echo "*******************************"