Added git config
This commit is contained in:
parent
92e10cc756
commit
59695984c5
@ -45,3 +45,18 @@ function pyenv_install() {
|
||||
if [[ ! -d $HOME/.pyenv ]]; then
|
||||
pyenv_install
|
||||
fi
|
||||
|
||||
# Git configuration
|
||||
# Assume that if the git config file exists, I've already set up my git config
|
||||
if [[ ! -f $HOME/.gitconfig ]]; then
|
||||
echo "Which email address should this machine use for git?"
|
||||
read "email?> "
|
||||
git config --global user.email $email
|
||||
git config --global user.name "Ezri Brimhall"
|
||||
git config --global commit.gpgsign true
|
||||
git config --global defaultBranch main
|
||||
git config --global pull.rebase false
|
||||
git config --global checkout.defaultRemote origin
|
||||
git config --global log.date human
|
||||
git config --global log.showSignature true
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user