Git Workflow Best practices

前端 未结 5 1740
长情又很酷
长情又很酷 2021-02-01 08:53

Stupid question and treat me as completely a newbie to version control.

I\'m new to Git (I\'ve used subversion before, but just the basics) I understand the basics of G

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-01 09:19

    John should work on master, Eric should work on a branch named WYSIWYG or some branch named appropriately.

    If you want to checkout what could be version 1.3 you should push John's master branch to a new branch called stable if you don't have it already, if you do have a stable branch already, simply merge master into stable again, this would be done each time you want to release some bug fixes.

    If Eric is finished on the wysiwyg branch, merge that in as well and then you have your compilable release. you then archive/destroy/ignore the wysiwyg branch as it is no longer needed.

提交回复
热议问题