开发者

Git: iOS Create an experimental iPad branch

开发者 https://www.devze.com 2023-02-26 04:01 出处:网络
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?

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
0

精彩评论

暂无评论...
验证码 换一张
取 消