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
If you clicked on "discard changes" before committing any changes, your project will become blank and you will find all files in your trash. There is not an whole xcode project there, but you will find all the files which have dates of when you created them. I solved my issue by getting the file I needed from trash. Then I put it back into my project.