简体   繁体   中英

How can I use “git add --patch” in PhpStorm

I am in the process of migrating our old environment from SVN + eclipse to Git + PhpStorm. I read many tutorials about Git and just recently found the git add --patch command. Is it possible to use it in PhpStorm through the GUI?

I already tried to do it manually using a terminal window inside of PhpStorm, but when I than use the VCS | Commit Changes VCS | Commit Changes window, it will just add the rest of the lines to the staging area and commit all hunks.

AFAIK it is not available: http://youtrack.jetbrains.com/issue/IDEA-63201

Please follow that ticket (star/vote/comment) to get notified on progress.

There is actually some progress, the feature you mentioned is now in the EAP release.

https://blog.jetbrains.com/idea/2018/02/intellij-idea-2018-1-eap-partial-git-commits-and-more

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM