heowc/git-practice

서명 - gpg key 사용하기

heowc opened this issue · 2 comments

heowc commented

항상 서명 하기 : git config --global commit.gpgsign true

heowc commented

I solved this by adding gpg.program to the .gitconfig file, as was mentioned above. To do so, run the following command. The path to gpg.exe may vary depending on your installation.

git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"

I had installed GnuPG from here using the Gpg4win binary. Make sure gpg is accessible in the path.