[user]
name = "Changsu Im"
email = "[email protected]"
# gpg --gen-key
gpg --full-generate-key
# pub rsa3072 2021-02-08 [SC] [expires: 2023-02-08]
# 85B5FA0A8A67AA1A20FA7D4BE15D651143742DAD
# uid Test RealName <[email protected]>
# sub rsa3072 2021-02-08 [E] [expires: 2023-02-08]
git config --global user.signingkey 85B5FA0A8A67AA1A20FA7D4BE15D651143742DAD
git config --global commit.gpgsign true
git config --global gpg.program gpg
export GPG_TTY=$(tty)
git commit
git log --show-signature -1
- Control Panel (제어판)
- Credential Manager (자격 증명 관리자)
- Generic Credentials (일반 자격 증명)
- Find
github.com
- Edit or delete the entry accordingly.
- In Finder, search for the Keychain Access app.
- In Keychain Access, search for
github.com
. - Find the "internet password" entry for
github.com
. - Edit or delete the entry accordingly.
git credential-osxkeychain erase
# host=github.com
# protocol=https
# > [Press Return]