Skip to content

Commit 9ca2e2c

Browse files
committed
Update README.md
1 parent 8c6340e commit 9ca2e2c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# commandline
2-
73 useful bash scripts collection on Mac OSX.(实用的命令行脚本)
2+
74 useful bash scripts collection on Mac OSX.(实用的命令行脚本)
33
![](https://github.com/chinsyo/commandline/actions/workflows/update_readme.yml/badge.svg)
44
* adb-bulk-uninstall
55
```bash
@@ -268,6 +268,15 @@ git rebase -i --autosquash ac5db87
268268

269269
```
270270

271+
* git-reset-hard-recovery
272+
```bash
273+
#! /bin/bash
274+
# reference: https://stackoverflow.com/questions/5788037/recover-from-git-reset-hard
275+
276+
git fsck --lost-found
277+
278+
```
279+
271280
* git-weekly-report
272281
![git-weekly-report](assets/git-weekly-report.png)
273282
```bash

0 commit comments

Comments
 (0)