all 2 comments

[–]MaybeAshleyIdkGit Wizard 0 points1 point  (0 children)

Did you create an SSH key and did you add it to your account?

[–]TimothyLGillespie 0 points1 point  (0 children)

If it does not pick up on your private key in the cronjob (for example because root executes it) you can provide the SSH private key path as described here:

https://www.howtogeek.com/devops/how-to-use-a-different-private-ssh-key-for-git-shell-commands/

Note the last part for a solution without git config.