Git: Manage each version of my app?

前端 未结 4 1855
长发绾君心
长发绾君心 2021-01-30 03:09

I am using git and github, and I just finished the 1.0 version of my iOS app. From here, I am wondering how git can best serve me.

I really am just looking for a best p

4条回答
  •  我在风中等你
    2021-01-30 03:55

    It depends on if you want to maintain older versions with bug fixes only. If you want to add bug fixes to 1.0 while adding new features to 2.0, you create a 2.0 branch, merge all bug fixes into both branches, and features into 2.0. But for each release within each branch all you need is a tag. Just remember to branch from the oldest branch you intend to merge back into.

提交回复
热议问题