Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
170 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...