Search code examples
gitios4xcode4

Xcode4 : How do I enable following feature of Xcode4?


I want to enable "Check-out" feature of "git local repository".

As shown in following image.

enter image description here

How do I enable that?


Solution

  • The Checkout button you showed is for Subversion repositories, not git repositories. It's used to check files out of Subversion repositories.

    What you probably are asking is how to switch branches from Xcode. Your screenshot is what appears when you click the Branches folder for a repository. Below that folder is another folder, which probably matches your project name. Select that folder. You should see a Switch Branch button at the bottom of the Organizer. Click that button to switch branches.