[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 1] Rar tool for Solaris.

[Level 2] iif in Python