Git& Intellij,如何提交更改文件的部分内容 [英] Git & Intellij, How do I commit only parts of a changed file

查看:91
本文介绍了Git& Intellij,如何提交更改文件的部分内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法只提交文件中的一小部分更改,似乎是全部文件或没有任何文件,我正在使用Git和Intellij,有可能吗?

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?

谢谢。

推荐答案

不在IDE中。正如评论中指出的那样,您可以使用命令行,但我发现使用GUI GIT客户端更容易(我使用,但有很多可用的)。

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).

这篇关于Git& Intellij,如何提交更改文件的部分内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆