Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
174 views
in Technique[技术] by (71.8m points)

Remove git from project in Xcode 4

I just created a new project in Xcode 4 and I guess I left the "Create local git repository for this project" box checked. Now, I would like to remove this version control since I want to run the project with svn only. Is this possible or do I have to create a new project from scratch?

question from:https://stackoverflow.com/questions/5526366/remove-git-from-project-in-xcode-4

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I had the same problem. Here are the steps to resolving this.

  1. Go to the Organizer (under window menu option)
  2. Go to Repositories
  3. Look at the bottom left corner for the minus button
  4. Select the project to be removed from GIT
  5. Press the minus icon
  6. It should be removed

This works, even though the class files still have the symbol next to them. Clicking them then clicking another file gets rid of the icon.

Hope this works.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...