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

  1. run git reflog
  2. find head@{id} (ex. head@{1},head@{2} etc.) prior changes you've made
  3. run git reset --hard head@{id} (id number refering particular head described in point 2.

reference

git reflog

useful link

recovering lost commits git reflog , reset


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

timer - Java TimerTask cancel -

android - How to read a column value in parse.com without accessing an object or a pointer -