diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 4737753..d735846 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -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