zoukankan
html css js c++ java
git add 而未 commit 的文件丢失后找回
系统:Ubuntu
(当时为了解决合并冲突(git add成功,但是git commit时报错),执行了 git merge --abort ,导致部分文件丢失。)
1.使用
git fsck --lost-found
命令;
2.进入.git文件夹中,将lost-found/other 文件夹复制到桌面;
3.如果是代码,将代码考回原路径下的文件;图片等文件直接
重命名
即可使用!(名字是找不回来了,只能手动重命名)
查看全文
相关阅读:
B. Spreadsheets
Frequent values 倍增/线段树离散化
E. Tree Painting 二次扫描换根法
1405 树的距离之和 二次扫描换根法
D. Subarray Sorting
K
Max answer(单调栈,rmq)
POJ2823 (单调队列)
POJ2559(单调栈入门)
Principles and strategies for mathematics study
原文地址:https://www.cnblogs.com/skzxc/p/12431774.html
最新文章
常用正则表达式
PHP 验证日期格式
php数字补零的两种方法
Laravel 使用 env 读取环境变量为 null 的问题
Codeforces_828
Codeforces_831
Codeforces_825
Codeforces_812
Codeforces_794
Codeforces_799
热门文章
Codeforces_807
Codeforces_805
2017西电第一次省赛选拔赛补题
Codeforces_793
P1541 乌龟棋
POJ3660
山东省赛 传递闭包
E
最大子序和
筱玛爱线段树 差分
Copyright © 2011-2022 走看看