很简单的方法:在intellij idea中,如下图所示:
intellij idea中修改了代码,commit时,提示没有代码改变
原文:https://www.cnblogs.com/chendezhen/p/13447073.html