I have built an iOS app which I would now like to test converting to an iPad version. Since it will be experimental, I assume that I need to make a new "iPad" branch to work on this?
Is this t开发者_StackOverflow中文版he best way to work on something that is experimental, and where I don't want these changes in my master unless I merge?
Simply just branch it as if it was any other branch.
git branch iPadDev
Then checkout that branch:
git checkout iPadDev
Work as if it was normal.
Once satisfied, merge it back into master if you desire.
git merge iPadDev
精彩评论