How does Xcode work with Git to change the start command and check?

Since Xcode version 4.4.1 does not have the function of branching or checking the old version, is it possible to do this in bash

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

or

git checkout HEAD^2

because all the source code ( .m, .h), .xiband the project files, image resources will change instantly, so that this will not cause strange behavior in Xcode? Right now, I always leave Xcode, switch the branch, and restart Xcode, but there may be a faster way.

+5
source share
1 answer

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

-, .
"" , Add Branch.
Automatically switch to this branch.

Automatically switch

.
Switch Branch
, master ( , ).

. " Git Xcode"

switch branch

/ , , :

, , git Xcode, , , - .
Organizer, , , .

/ XCode , .

+5

All Articles