I'm writing a cronjob that will
git fetch. I have a private key that I often use for authenticated git things (like github) which has a passphrase on it, but this specific
git fetch doesn't need the key. My key is saved in the normal location of
.ssh/id_rsa. Everything is wonderful when I have an
ssh-agent running, but my cronjob doesn't have that luxury.
GIT_ASKPASS=echo git fetch but that just fails the passkey and won't fetch the repo.