1.选择菜单“Window”->"Preference"

2.左边树菜单选择“Team”->"Git"->"Committing"

3.在复选框"Use staging View to commit instead of Commit Dialog"下方有一个复选框“Automatically stage selected resource on Commit”,把这两个复选框的勾都去掉。

向git库提交代码出现”There are no staged files"

4.试着再次提交,如果还是出现”There are no staged files"文字,关闭Eclipse再打开一次,之后就也该好了。

参考博客:https://yq.aliyun.com/articles/386591

相关文章:

  • 2022-02-27
  • 2021-09-01
  • 2021-10-23
  • 2021-11-26
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2021-05-24
  • 2021-06-10
  • 2022-12-23
  • 2021-05-31
  • 2021-05-13
相关资源
相似解决方案