How to undo xcode discard all changes if not committed

后端 未结 4 2092
你的背包
你的背包 2020-12-13 04:44

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 cl

4条回答
  •  星月不相逢
    2020-12-13 05:42

    I think you are out of luck. See this answer: Accidentally reverted to master, lost uncommitted changes

    Since you did not commit, or stage any of your files, then having reverted them means they are lost.

    Sorry.

提交回复
热议问题