I want to discard all files to which changes have been made.
While working with Xcode, I accidentally open .xib files. If the version of Xcode in which the files were generated is different than my version, it automatically marks these files as Modified (M) and it shows up in my git as well. I need to manually remove all of the file. I'm sure there must be a better way to do it.