向git库提交代码出现”There are no staged files怎么办?
生活随笔
收集整理的這篇文章主要介紹了
向git库提交代码出现”There are no staged files怎么办?
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1.選擇菜單“Window”->"Preference"
2.左邊樹菜單選擇“Team”->"Git"->"Committing"
3.在復選框"Use staging View to commit instead of Commit Dialog"下方有一個復選框“Automatically stage selected resource on Commit”,把這兩個復選框的勾都去掉。
4.試著再次提交,如果還是出現”There are no staged files"文字,關閉Eclipse再打開一次,之后就也該好了。
參考文檔:https://www.zhihu.com/question/43408545/answer/95481131
本文轉自張昺華-sky博客園博客,原文鏈接:http://www.cnblogs.com/xiandedanteng/p/7506914.html,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的向git库提交代码出现”There are no staged files怎么办?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Ubuntu16.10安装Ocata之4
- 下一篇: linux系统结构,文件寻址,文件管理编