Skip to content

Replicate git commit --only #1145

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

You must be logged in to vote

I think if in doubt, and for these one-off commands, one can start off using git directly. That way you can basically write simple scripts closely resembling git invocations in python.

Otherwise one would have to implement this functionality using the plumbing (low-level functionality) provided by GitPython, which isn't what anyone should start out with.

Even though I close this issue, please feel free posting follow-up questions here for eventual response.

Replies: 2 comments

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
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 #985 on February 26, 2021 11:18.