向git库提交代码出现”There are no staged files"怎么办?
2017-09-11 20:30
681 查看
1.选择菜单“Window”->"Preference"
2.左边树菜单选择“Team”->"Git"->"Committing"
3.在复选框"Use staging View to commit instead of Commit Dialog"下方有一个复选框“Automatically stage selected resource on Commit”,把这两个复选框的勾都去掉。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/19/3167436a77440c1bcd81232ab050da3b.png)
4.试着再次提交,如果还是出现”There are no staged files"文字,关闭Eclipse再打开一次,之后就也该好了。
参考文档:https://www.zhihu.com/question/43408545/answer/95481131
2.左边树菜单选择“Team”->"Git"->"Committing"
3.在复选框"Use staging View to commit instead of Commit Dialog"下方有一个复选框“Automatically stage selected resource on Commit”,把这两个复选框的勾都去掉。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/19/3167436a77440c1bcd81232ab050da3b.png)
4.试着再次提交,如果还是出现”There are no staged files"文字,关闭Eclipse再打开一次,之后就也该好了。
参考文档:https://www.zhihu.com/question/43408545/answer/95481131
相关文章推荐
- eclipse 使用 git 提交代码报错 “there are no staged files”
- 使用Ecplise git commit时出现"There are no stages files"
- There are no staged files (Git提交出错)-yellowcong
- 使用Ecplise git commit时出现"There are no stages files"
- 使用Ecplise git commit时出现"There are no stages files"
- 使用Ecplise git commit时出现"There are no stages files"
- 使用Ecplise git commit时出现"There are no stages files"
- eclipse git 提交时提示 “There are no staged files”
- eclipse git 提交时提示 “There are no staged files”
- 使用Ecplise git commit时出现"There are no stages files"
- eclipse git 提交时提示 “There are no staged files”
- 使用Ecplise git commit时出现"There are no stages files"(异常解决)
- 使用Ecplise git commit时出现"There are no stages files"
- 在eclipse中使用git时出现"There are no stages files"错误
- 使用Ecplise git commit时出现"There are no stages files"
- eclipse上传git时,commit时‘There are no staged files’
- Eclipse中出现there is no staged files
- eclipse出现There are no resources that can be added or removed from the server
- git不能提交代码或提交代码出现冲突或错误
- 解决sublime package control 出现There are no packages available for installation