Fix git config
This commit is contained in:
parent
509048c54c
commit
95a5ccf908
1 changed files with 4 additions and 0 deletions
|
@ -66,12 +66,16 @@ else
|
|||
echo GitHub URL: https://github.com/settings/gpg/new
|
||||
read -p "Press enter when you're done" </dev/tty
|
||||
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
|
||||
|
||||
echo Doing git config stuff...
|
||||
git config --global credential.credentialStore gpg
|
||||
git config --global user.name "${NAME}"
|
||||
git config --global user.email "${EMAIL}"
|
||||
git config --global user.signingkey ${KEY_ID}
|
||||
|
||||
#############
|
||||
# SSH stuff #
|
||||
|
|
Loading…
Reference in a new issue