如何提交部分文件(hunk)git在pycharm中 [英] How to commit a partial file (hunks) to git in pycharm
问题描述
我是一个沉重的Eclipse PyDev + EGit用户,希望切换到PyCharm。在Eclipse中,我可以选择仅向git索引添加文件的某些行/行,就像在终端中使用 git add -p
一样。我发现通过GUI实现速度更快,我一直在寻找PyCharm中的相同功能。它存在吗?谢谢
目前不支持此功能。通知何时实施)。
http://youtrack.jetbrains.com/issue/IDEA-63201
更新2018年3月13日:
此功能现已实施(或多或少),并将在 2018.1 版本中提供。多一点可以找到在此博客文章。
I'm a heavy Eclipse PyDev + EGit user and looking to switch to PyCharm. In Eclipse, I can choose to add only certain hunks/lines of a file to the git index, the same as using git add -p
from the terminal. I find doing it through a GUI to be faster, and I have been looking for the same functionality in PyCharm. Does it exist? Thanks
This is not currently supported. Follow this ticket for details (comment/watch to be notified when it will be implemented).
http://youtrack.jetbrains.com/issue/IDEA-63201
UPDATE 2018-03-13:
This functionality is now implemented (more or less) and will be available in 2018.1 version. A bit more can be found in this blog post.
这篇关于如何提交部分文件(hunk)git在pycharm中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!