Git & Intellij, How do I commit only parts of a changed file

后端 未结 4 1580
傲寒
傲寒 2021-02-01 00:37

I can\'t seem to commit only a fraction of the changes in a file, it seems to be all of the file or nothing, I\'m using Git with Intellij, is it possible?

Thanks.

4条回答
  •  梦如初夏
    2021-02-01 00:51

    Not in the IDE. As noted in comments, you can use the command line, but I find it much easier to use a GUI GIT client (I use Tower, but there are many available).

提交回复
热议问题