[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 3] Install Memcached Storage Engine for MySQL on CentOS 5.4

[Level 1] How to install Jython on Ubuntu.

[Level 2] Shell Interactive With Zenity Episode 4 -- file-selection