reinstate git init and submodule init
This commit is contained in:
parent
76075d96c9
commit
2a9839afc1
1 changed files with 11 additions and 0 deletions
11
init.sh
11
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 "*******************************"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue