nowox nowox - 3 years ago 161
Git Question

How to retain commit ssh passphrase for 1 hour?

I have added this option to my


gpgsign = true

But Git asks me for my passphrase each time I do a commit. I don't want to create a new keypair with an empty passphrase. I rather would like Git to retain my passphrase for few hours.

Is it that possible?

Answer Source
gpg: gpg-agent is not available in this session

As mention here, that might be because gpg-agent --version and gpg --version differ.
Double-check your $PATH: you might find a gpg.exe in one folder, and a gpg-agent in another.

Plus, gpg-agent should work with gpg2, and you are using gpg 1...
See "how to install gpg on cygwin? currently it's missing".

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download