Git production/staging server workflow

前端 未结 2 1768
一生所求
一生所求 2021-01-29 17:51

Currently my website (production server) already have a lot of code in it. And now I want to start using Git for my projects and setup a staging server for my team. Can anybody

2条回答
  •  死守一世寂寞
    2021-01-29 18:11

    It's better to use master branch only for Production and development branch for Staging. Each developer should create local branch to add new features and then merge with development branch. If you're new to a git, try to use - http://github.com/nvie/gitflow There is also good picture describing git branching model - http://nvie.com/posts/a-successful-git-branching-model/

提交回复
热议问题