Does PyCharm support "git add --patch"
I've made multiple changes in a file that I would like to split off into multiple commits. I usually do this with git's "add --patch" command. In that mode I'm able to select hunks within a file I want to commit. When looking at PyCharm's diff viewer I noticed an "include into commit" checkbox, but that applies to the entire file, not just a hunk within the diff. Is this even possible within PyCharm or should I just drop back down to the CLI for this function?
Thanks!
-Roberto.
Please sign in to leave a comment.
Hello Roberto,
At the moment the Git integration in PyCharm doesn't support adding individual
hunks of a file to a commit. It's possible that this will be supported in
a future version.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"