xcode - 'Discard all changes' has deleted pod files -
i did commit on friday, discard changes on monday, pod related files in trash. realise did wrong, i'm quite inexperienced git etc, need restore files.
has come across before , know do?
description
this should revert home directory state state prior changes refer in original post.
example
- run
git reflog
- find
head@{id}
(ex.head@{1}
,head@{2}
etc.) prior changes you've made - run
git reset --hard head@{id}
(id
number refering particularhead
described in point 2.
reference
useful link
Comments
Post a Comment