Skip to content

git.Git.execute() does not work in v3.1.11 #1170

Answered by Byron
zm0n3 asked this question in Q&A
Discussion options

You must be logged in to vote
g = Git( git_dir )
rval = g.config(…)       

git_dir can be any existing directory, it is the working directory of the git command when spawned. This doesn't need to be a repository.
Maybe try it with the invocation you need.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1086 on February 26, 2021 11:18.