<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Chan Chen Coding...

    Workflow example with GIT

    Refter to: http://stackoverflow.com/questions/315911/git-for-beginners-the-definitive-practical-guide/5968622#5968622

    Workflow example with GIT.

    Git is extremely flexible and adapts good to any workflow, but not enforcing a particular workflow might have the negative effect of making it hard to understand what you can do with git beyond the linear "backup" workflow, and how useful branching can be for example.

    This blog post explains nicely a very simple but effective workflow that is really easy to setup using git.

    quoting from the blog post: We consider origin/master to be the main branch where the source code of HEAD always reflects a production-ready state:

    The workflow has become popular enough to have made a project that implements this workflow: git-flow

    Nice illustration of a simple workflow, where you make all your changes in develop, and only push to master when the code is in a production state:

    simple workflow

    Now let's say you want to work on a new feature, or on refactoring a module. You could create a new branch, what we could call a "feature" branch, something that will take some time and might break some code. Once your feature is "stable enough" and want to move it "closer" to production, you merge your feature branch into develop. When all the bugs are sorted out after the merge and your code passes all tests rock solid, you push your changes into master.

    During all this process, you find a terrible security bug, that has to be fixed right away. You could have a branch called hotfixes, that make changes that are pushed quicker back into production than the normal "develop" branch.

    Here you have an illustration of how this feature/hotfix/develop/production workflow might look like (well explained in the blog post, and I repeat, the blog post explains the whole process in a lot more detail and a lot better than I do.

    Git workflow example



    -----------------------------------------------------
    Silence, the way to avoid many problems;
    Smile, the way to solve many problems;

    posted on 2012-04-13 11:23 Chan Chen 閱讀(268) 評論(0)  編輯  收藏 所屬分類: Git


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲av永久中文无码精品| 亚洲va成无码人在线观看| caoporn成人免费公开| 可以免费观看的一级毛片| 亚洲高清乱码午夜电影网| 成人午夜免费福利| 亚洲中文无码亚洲人成影院| 日韩免费一区二区三区在线| 亚洲乱码一二三四五六区| 四虎1515hh永久久免费| 亚洲三级在线播放| 最新69国产成人精品免费视频动漫| 亚洲日韩AV一区二区三区四区| 在线免费观看色片| 羞羞视频网站免费入口| 亚洲第一黄片大全| 在线毛片片免费观看| 久久亚洲国产成人亚| 国产精品成人观看视频免费 | 亚洲成A人片在线播放器| 久久精品无码一区二区三区免费 | 亚洲av午夜精品一区二区三区| 午夜成人无码福利免费视频| 中文字幕亚洲天堂| 最近中文字幕大全中文字幕免费 | 亚洲日本在线观看网址| 国产精品久久久久久久久久免费 | 无码一区二区三区亚洲人妻| 亚洲电影日韩精品 | 国产99在线|亚洲| 亚洲成a人片在线播放| 无码人妻一区二区三区免费看 | 国产免费av片在线看| 一级毛片成人免费看a| 亚洲国产精品自在在线观看| 青青草免费在线视频| 污网站在线免费观看| 久久久无码精品亚洲日韩按摩 | 日韩一区二区在线免费观看| 国产黄色片免费看| 亚洲综合伊人制服丝袜美腿|