Git - reset hard

syntax
    
    git reset --hard [SOME-COMMIT-HASH]
    
example 1 (revert to the specified commit)
    
    git reset --hard 029f66f
    
example 2 (revert to a previous commit)
    
    git reset --hard HEAD
    

Comments