Skip to content

Latest commit

 

History

History

006-git

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Git

Use GPG key on Windows

From here

  1. Install Gpg4win from Gpg4win Official Website
  • During install, select to install the component Kleopatra.
  1. Import GPG key or generate new gpg key in Kleopatra.
  2. In git, set git config --global gpg.program value to path/to/
  3. Enable global GPG signing:
    git config --global user.signingkey <key name>
    git config --global commit.gpgsign true
    git config --global gpg.program "path/to/GnuPG/bin/gpg.exe"
  4. Set no password time: In Kleopatra, Settings => GnuPG System => Private Keys => Expire cached PINs after N seconds, set this to some time.