github.com SSH 加速访问
修改 C:\Users\Dell\.ssh\config 文件,添加如下内容:
Host github.com
User git
Port 22
Hostname github.com
IdentityFile "C:/Users/Dell/.ssh/id_ecdsa"
TCPKeepAlive yes
ProxyCommand connect -S 127.0.0.1:7891 -a none %h %p
全局设置 GPG 签名工具
GPG4Win 下载地址:https://www.gpg4win.org/
git config --global gpg.program "C:/Program Files (x86)/GnuPG/bin/gpg.exe"
列举 GPG Key
gpg --list-secret-keys --keyid-format=long
针对 Git Repo 启用 GPG 签名
git config --local user.signingkey [YOUR GPG KEY]
git config --local commit.gpgsign true