Swift5 xcode12.2 This is a problem that occurred while creating a project named EngineerApp.
As you can see, when you try to commit a file to git, if there are too many files, you cannot commit. the working copy “EngineerApp” failed to commit files. Message appears and the commit fails.
When I added a file such as an image to the project, I accidentally included other files as well. In my case, all the data in the download folder on my Mac was included.
In the terminal run the following to close the terminal, restart the project and commit again
cd EngineerApp
/Applications/Xcode.app/Contents/Developer/usr/bin/git reset
https://qiita.com/pgcmg00/items/0b94986290e8ae3a3b7e
Recommended Posts