504 B
504 B
title, type, language, tags, author, cover, dateModified
| title | type | language | tags | author | cover | dateModified | |
|---|---|---|---|---|---|---|---|
| Find lost files | snippet | git |
|
chalarangelo | hard-disk | 2021-04-13T21:10:59+03:00 |
Prints a list of lost files and commits.
- Use
git fsck --lost-foundto print a list of all dangling objects. - All appropriate files will be extracted into the
.git/lost-founddirectory.
git fsck --lost-found
git fsck --lost-found
# dangling commit 3050fc0de
# dangling blob 807e3fa41
# dangling commit 59ff8481d