When you create a project in Xcode, the initial commit is done without creating .gitignore, so add .gitignore and recommit.
Generate .gitignore for Xcode at the following site and add it to the project. https://www.toptal.com/developers/gitignore
Initial commit can be canceled with the following command instead of git reset. After canceling, commit again.
git update-ref -d HEAD
Recommended Posts