Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get code back after hard reset

git reflog
# find hashes (shas)

git checkout -b someNewBranchName shaYouDestroyed
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #code #hard #reset
ADD COMMENT
Topic
Name
2+1 =