Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReplicate `git commit --only` #985
Closed
Labels
Comments
This would be very interesting to know, since I can not find anything like this in the docs or somewhere |
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies if this is a 'newbie' question, but is there a way to commit only certain paths from the index tree, akin to
git commit --only file.txt
?