cd ~
git clone --recursive [email protected]:degete/gitconfig.git ~/.git
ln -s .git/gitconfig .gitconfigYou might want to have integration to store your keys on the Keychain in macOS, for that install
brew install pinentry-macAdd the config to gpg-agent in order to work with pinentry-mac:
echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.confRestart gpg-agent in order to load the config, and you are ready to go:
killall gpg-agentTo check everything is up, you can execute the command which will ask your passphrase and will allow you to save it on the Keychain.
echo "Test" | gpg --clearsign