removing local git repositary from Xcode Project?

The local git repository is stored in a folder named .git inside your project folder. It's hidden (any file/folder starting with a . is) but you can delete or move it using the Terminal. Once it's gone, your folder will no longer be recognized as having a git repository.


You can find the solution in this question: How to fully delete a git repository created with init?

You really should try google first before asking on SO.


Open Terminal and Type

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

open the project in finder delete the .git

Good to go. Enjoy


Open the folder the project is in, hold down Cmd, Shift, . (period) and you will see a folder named ".git". Delete that folder, and you're good. Hide hidden files again by holding down Cmd, Shift, . (period)