-
-
Notifications
You must be signed in to change notification settings - Fork 954
-
Hi team, I am new to gitpython, and I am looking a way to disable sslVerify upon issue a git command, don't know how to pass parameters, thanks
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
You probably want to change the GIT_SSH_COMMAND
to your own script to control how ssh
is invoked, as described in the docs.
Here is an example to show the general idea:
ssh_cmd = 'ssh -i id_deployment_key' with repo.git.custom_environment(GIT_SSH_COMMAND=ssh_cmd): repo.remotes.origin.fetch()
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment