mirror of https://github.com/nirenjan/dotfiles.git
Fix Git username and email setting on a new install
parent
228b93ad13
commit
01434fff9d
8
install
8
install
|
@ -165,11 +165,11 @@ then
|
||||||
echo "Installing gitconfig"
|
echo "Installing gitconfig"
|
||||||
cp -v gitconfig ~/.gitconfig
|
cp -v gitconfig ~/.gitconfig
|
||||||
echo -n "What is your default Git username? "
|
echo -n "What is your default Git username? "
|
||||||
read $GIT_USER
|
read GIT_USER
|
||||||
echo -n "What is your default Git e-mail address? "
|
echo -n "What is your default Git e-mail address? "
|
||||||
read $GIT_EMAIL
|
read GIT_EMAIL
|
||||||
git config --global user.name $GIT_USER
|
git config --global user.name "$GIT_USER"
|
||||||
git config --global user.email $GIT_EMAIL
|
git config --global user.email "$GIT_EMAIL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install git prompt functions
|
# Install git prompt functions
|
||||||
|
|
Loading…
Reference in New Issue