github - How to search local commit GIT -


can me retrieve commit? cannot find commit anywhere

here's do

  1. i'm in branch master
  2. i move previous commit in branch master(so i'm in branch)
  3. type changes
  4. commit , push
  5. got error because cannot push commit in branch
  6. i move branch master
  7. now last commit gone

any idea retrieve previous commit?

i've tried use git log still can't find last commit

try git reflog search commit want ref log message.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -