-
-
Notifications
You must be signed in to change notification settings - Fork 954
-
Hello,
I am trying to execute a commit using
git.execute(["git","commit","--quiet"])
to suppress the message but it seems like it hangs. How can I fix it ?
using GitPython v.3.1.18
Beta Was this translation helpful? Give feedback.
All reactions
In order to execute git in the correct repository you would probably do it as described here. If that doesn't resolve the problem it's possible to debug the git invocations as well.
Replies: 1 comment 2 replies
-
In order to execute git in the correct repository you would probably do it as described here. If that doesn't resolve the problem it's possible to debug the git invocations as well.
Beta Was this translation helpful? Give feedback.
All reactions
-
@Byron Thanks for the response. I have omitted the init. code so I guarantee that it's repo is initialized properly. This hang might be related to this issue ?
Beta Was this translation helpful? Give feedback.
All reactions
-
Probably not.
Calling git.execute()
really isn't recommended and I wonder if following the docs leads to more idiomatic and easier to debug code.
Beta Was this translation helpful? Give feedback.