Created
March 21, 2018 19:29
-
-
Save srpatcha/cdb44178a7ca560c51ee4c3ca08b3331 to your computer and use it in GitHub Desktop.
Revisions
-
srpatcha created this gist
Mar 21, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ git log git reset --hard HEAD~1 // for latest git reset --hard <sha1-commit-id> // for commit ID or specific 5th commit HEAD~5 git log git push origin HEAD --force