Monday, March 13, 2017

[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