Grails

How to Recover lost Commits in GIT

Recently while working on Git I had accidentally lost my commits. But since Git has a fantastic revision control system, it remembers what I committed. In other words, it records where its HEAD is every time user commits. Here's is the example of how I got my lost commits back. Below are my 5 recent Commits [shell]git log -5...

by Hitesh Bhatia
Tag: Commits in GIT
11-Apr-2011