Fix git config

This commit is contained in:
askiiart 2023-09-07 08:17:15 -05:00
parent 509048c54c
commit 95a5ccf908

View file

@ -66,12 +66,16 @@ else
echo GitHub URL: https://github.com/settings/gpg/new echo GitHub URL: https://github.com/settings/gpg/new
read -p "Press enter when you're done" </dev/tty read -p "Press enter when you're done" </dev/tty
pass init ${KEY_ID} pass init ${KEY_ID}
else
gpg --list-keys
read -p "Enter the long ID of the key to be used for git:" KEY_ID
fi fi
echo Doing git config stuff... echo Doing git config stuff...
git config --global credential.credentialStore gpg git config --global credential.credentialStore gpg
git config --global user.name "${NAME}" git config --global user.name "${NAME}"
git config --global user.email "${EMAIL}" git config --global user.email "${EMAIL}"
git config --global user.signingkey ${KEY_ID}
############# #############
# SSH stuff # # SSH stuff #