ragnarokkrr
3/7/2016 - 5:43 PM

From http://snipplr.com/view.php?codeview&id=55151

#%uncommited changes   

$ git reset --hard HEAD  


# %restore a file  

$ git checkout -- hello.rb 
$ git checkout HEAD hello.rb