删除了文件,但未提交到git库,
1、在包上单击右键。
2、选择restore from local history...
3、在弹出的对话框中选择需要恢复的文件
然后remove from index即可去除修改标记。
参考 http://blog.youkuaiyun.com/wqjsir/article/details/6371422
本文介绍了一种通过Eclipse集成开发环境中本地历史记录功能恢复已从项目中删除但尚未提交到版本控制系统(如Git)的文件的方法。
删除了文件,但未提交到git库,
1、在包上单击右键。
2、选择restore from local history...
3、在弹出的对话框中选择需要恢复的文件
然后remove from index即可去除修改标记。
参考 http://blog.youkuaiyun.com/wqjsir/article/details/6371422
405

被折叠的 条评论
为什么被折叠?