title: How to undo xcode discard all changes if not committed
body: <p>I have a iOS project that I have some changes haven't commit. I clicked discard all changes mistakenly. I actually want to only discard a specific file's changes. But I clicked wrong button. And now everything are gone. How to undo the changes?</p>
  
  <p>git status shows nothing.</p>