Last Updated: February 25, 2016
·
1.167K
· felipeelias

git reflog + git reset

logs all actions you made:

git reflog show master

reset to some reflog:

git reset --hard master@{x}