Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
when using git execute to send a comment in the commit message i am getting an error that seems to be a buggy behavior where a space is not accepted I am using python v3.10 with GitPython==3.1.18 Example code: Result: without the space it works I tried to use |
Answered by
Byron
Nov 24, 2021
Replies: 1 comment 1 reply
Despite the name, Turn…
…and things should work as expected. More about how to call git directly is in the docs. |
1 reply
Answer selected byjcralbino
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Despite the name,
execute()(instead of_execute()is a low-level method that shouldn't be used.Turn…
repo.git.execute(f"git add {origin}*")intorepo.git.add(f"{origin}*")repo.git.execute(f"git commit -m 'word1 word2'")intorepo.git.commit(m='word1 word2')…and things should work as expected.
More about how to call git directly is in the docs.