git提交之后没有push,代码被覆盖之后恢复
2024-09-03 21:40:31
git reflog 通过这个看commit id
git reset [commit id] --hard 有时候要删除一个index.lock文件。
最新文章
- SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
- Reflector、reflexil、De4Dot、IL指令速查表
- jQuery静态方法globalEval使用和源码分析
- [Erlang 0108] Elixir 入门
- 深入理解SQL的四种连接-左外连接、右外连接、内连接、全连接(转)
- 一键配置openvpn
- 【Python】 [基础] 条件判断 与 循环 与dict和set
- 多线程JAVA篇(一)
- poj 3320 Jessica's Reading Problem(尺取法)
- 中文分词算法之最大正向匹配算法(Python版)
- Linux Shell脚本攻略
- python中使用selenium调用Firefox缺少geckodriver解决方法
- Macaca环境配置及样例执行
- 设计模式成长记(一) 抽象工厂模式(Abstract Factory)
- web前端面試題
- HDU 6375(双端队列 ~)
- Cortex-M3 跳转到指定bin执行
- javascript判断是用什么设备打开
- 【HDOJ4109】【拓扑OR差分约束求关键路径】
- JavaScript创建对象的方法汇总
热门文章
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'userId' not found. Available parameters are [arg1, arg0, param1, param2]
- java 核心技术卷一笔记 6 .1接口 lambda 表达式 内部类
- Mybatis-Generator逆向生成Po,Mapper,XMLMAPPER(idea)
- CPP-基础:关于引用
- ios开发--常用的高效开发的宏
- ECMAScript 继承机制实现
- 初涉倍增&;&;LCA【在更】
- CSS3-transform3D
- CSS盒模型-box-sizing
- 【chm】【windows】win7下chm打开不显示内容