Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove source control for Xcode project

Tags:

git

xcode

I've been using source control on an Xcode project for awhile, but now I don't want to use source control.

How do you remove source control from a project in Xcode?

like image 624
Reza Safari Avatar asked Jan 18 '14 00:01

Reza Safari


People also ask

How do I remove source control from my project?

To remove files from source control: In the Project Explorer, select the file to remove. If you select a folder, project, or solution, any eligible child items will also be removed. choose Source Control > Remove or press Ctrl+R, R.

How do I remove Git from Xcode?

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.

How do I delete a repository in Xcode?

search the entire file for key/string pairs that have the ID as the key. delete all these pairs. delete the <dict> save the file.

What is source control Xcode?

Overview. Source control is the practice of tracking and managing changes to your code. Manage your Xcode project with source control to keep a rich history of the changes you make, and collaborate on code faster and more effectively. Xcode simplifies source control management with its built-in support for Git.


1 Answers

There are three ways. Method 1 will disable source control for all projects. Method 2 will delete the link to a single repository for all projects. Method 3 will remove the link to a repository for a single project. I think Method 3 is the one you are looking for.

1: Through Source Control Management Preferences

In Xcode, choose Xcode-> Preferences, then select Source Control and uncheck Enable Source Control option.

enter image description here

2: Go to Xcode->Preference->Accounts->Repositories and delete them.

enter image description here

3: You can do it manually this way: Show Hidden Files on your Mac and delete all the .svn or .git or .tf files (according to the source control) folders from the project.

Example svn directory:

enter image description here

like image 158
Shamsudheen TK Avatar answered Sep 20 '22 10:09

Shamsudheen TK