-3

There is no way to delete the source control in Xcode. The delete button is disabled. my screen view Does anyone know how to delete all the source control in the Xcode

Apple Dog
  • 35
  • 4

2 Answers2

0

This delete button for deleting branch. If you want to delete Source control. Please delete .git folder from your project folder. Please check screenshot. if you are not able to see '.git' folder. Enable 'See hidden files' in your mac.

enter image description here

Chaman Sharma
  • 641
  • 5
  • 10
0

While in the root of the project directory, run rm -r .git/ to delete the entire Git version control repository. Be warned, you will lose all Git history (commits, branches, etc)

acodeguy
  • 115
  • 1
  • 7