[Level 1] Lost and Found in git

Once you get lost in git and you could try to find it by the following commands
$ git fsck --lost-found
$ git reset HEAD@{1}

Wish this helps.

regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python