<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 閱讀(267) 評論(0)  編輯  收藏 所屬分類: Git


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


    網站導航:
     
    主站蜘蛛池模板: 精品亚洲国产成人| 亚洲国产精品热久久| 亚洲av日韩精品久久久久久a| 57PAO成人国产永久免费视频 | 久久精品亚洲视频| 国产真人无码作爱视频免费| 亚洲日韩中文字幕在线播放| 97人妻精品全国免费视频| 深夜A级毛片视频免费| 青娱乐免费在线视频| 亚洲成人激情小说| 日本高清免费aaaaa大片视频| 亚洲AV无码乱码在线观看富二代| 成人无码a级毛片免费| 亚洲五月激情综合图片区| 成年在线观看网站免费| 久久亚洲成a人片| 16女性下面无遮挡免费| 亚洲成av人片在www鸭子| www国产亚洲精品久久久| 亚洲欧洲无卡二区视頻| 亚洲AV网站在线观看| 亚洲欧洲国产综合| 日韩免费高清视频| 两个人日本WWW免费版 | 亚洲国产三级在线观看| 免费无码又爽又黄又刺激网站| 国产亚洲人成网站在线观看| 久久精品人成免费| 亚洲高清毛片一区二区| 亚洲综合图色40p| 免费观看无遮挡www的小视频| 亚洲av日韩av永久无码电影| 久99精品视频在线观看婷亚洲片国产一区一级在线 | 国产精品亚洲AV三区| 亚洲色婷婷综合久久| 在线观看免费人成视频色9| 免费毛片毛片网址| 久久亚洲精品中文字幕| 免费观看午夜在线欧差毛片| 午夜视频在线免费观看|