I set up source control on a small project with Xcode, but I quickly found that there are a lot of random files and folders that Xcode makes for my project that are also getting picked up by git. Not sure if it is helpful to keep them to perfectly restore a previous commit, but it definitely makes it harder to view changed files when the list of changes after changing one file comes out to a length of 168. Is there any way that I can add all of these automatically to gitignore or at least hide them?
I was thinking to add certain files to gitignore, but there are far to many to manually do, and there are also entire folders, and the names seem like they will change each time I build the project. .