Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8495439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:34:29+00:00 2026-06-10T23:34:29+00:00

Since Xcode at version 4.4.1 doesn’t have a switch branch or checkout older version

  • 0

Since Xcode at version 4.4.1 doesn’t have a switch branch or checkout older version function, is it possible to do that in bash

git checkout in-app-purchase-to-be-added

or

git checkout HEAD^2

because all the source code (.m, .h), .xib, and project files, image resources will all change in a blink of an eye, so won’t it cause weird behavior in Xcode? Right now I always quit Xcode, switch branch, and restart Xcode, but maybe there is a faster way.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:34:31+00:00Added an answer on June 10, 2026 at 11:34 pm

    XCode should have a way to switch branch, as described in “Using branches and git with Xcode 4.1“

    First off, bring up the organizer’s repositories view and find your project on the left hand side.
    Click on the yellowish folder labeled Branches inside of it and then at the bottom of the window click on the Add Branch graphic.
    Give the branch a name in the dialog that appears, and be sure to select the checkbox at the bottom to Automatically switch to this branch.

    Automatically switch

    go back into the organizer’s repository view and click on your blue folder again.
    At the bottom of the window you can select Switch Branch
    to go back to your master branch (or whichever you want to merge these changes into).

    See also “Git Branch Management With Xcode“

    switch branch

    For more complex branch switching/creation, yes, you might have to to it through the command-line:

    One thing you need to be aware of if you are performing git version control from the command line with the project open in Xcode is that it does not always immediately spot when you have changed something.
    I find with the Organizer that you need to switch between some different views before it spots that the current branch has changed.

    So closing/re-opening XCode might not always be needed, depending on the nature of your project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently updated to the new version of xcode. Big big mistake I have
I have recently updated Xcode to use the iOS5 SDK. Since updating my app
In Xcode, I want to set the project bundle version to the git hash,
I've installed XCode and therefore git is there as well. Since i want to
I'm trying to install Nokogiri on a computer that doesn't have Apple's development package
Since I updated Xcode to version 4.4, my project started to crash with the
Since I upgraded my MonoTouch to version 4, I have problems with the *.xib.designer.cs
I've got an Xcode project under git and I've got a experimental branch off
I noticed since Xcode 4.3, the audio unit templates are gone and the audio
Since recent update Xcode 4.3 now seems to default to LLDB debugger. I just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.