GPG passphrase prompts can cause scripts to hang when signing git commits or performing GPG operations in background processes. Running `echo | gpg --clearsign > /dev/null` triggers the passphrase prompt upfront, allowing subsequent GPG operations to use the cached passphrase. The `gpg-connect-agent reloadagent /bye` command
Sort: