diff --git a/git-workflows-and-tutorials/README.md b/git-workflows-and-tutorials/README.md index 905c898..7187ce2 100644 --- a/git-workflows-and-tutorials/README.md +++ b/git-workflows-and-tutorials/README.md @@ -7,7 +7,7 @@ 在阅读的过程中请记住,这里设计的几种工作流应该作为指导方案而不是条例规定。在展示了各种工作流可能的用法后,你可以从不同的工作流中挑选或揉合出一个满足你自己需求的工作流。 -![Git Workflows](https://gp1.wac.edgecastcdn.net/8029C4/wac-small/wac/landing/git/workflows/pageSections/0/contentColumnTwo/0/imageBinary/git_workflow.png) +![Git Workflows](git_workflow.png) :beer: 概述 --------------------- @@ -16,28 +16,28 @@ 如果你的开发团队成员已经很熟悉`Subversion`,中心化工作流让你可以无需去适应一个全新流程就可以使用上`Git`带来的收益。这个工作流也是一个向更`Git`工作流迁移的友好过渡。 -![Git Workflows: SVN-style](https://gp1.wac.edgecastcdn.net/8029C4/wac-small/wac/landing/git/workflows/pageSections/00/contentFullWidth/0/tabs/0/pageSections/0/contentColumnTwo/0/imageBinary/git-workflow-svn.png) +![Git Workflows: SVN-style](git-workflow-svn.png) ### 功能分支(Feature Branch)工作流 功能分支工作流以中心化工作流为基础,不同的是为各个新功能分配一个单独的分支开发。这样可以在把新功能合并到正式主干前,用`Pull Requests`的方式讨论变更。 -![Git Workflows: Feature Branch](https://gp1.wac.edgecastcdn.net/8029C4/wac-small/wac/landing/git/workflows/pageSections/00/contentFullWidth/0/tabs/0/pageSections/00/contentColumnTwo/0/imageBinary/git-workflow-feature_branch.png) +![Git Workflows: Feature Branch](git-workflow-feature_branch.png) ### `Gitflow`工作流 `Gitflow`工作流通过为功能开发、发布准备和维护提供独立的分支,来简化发布迭代过程。严格的分支模型为大型项目提供了一些非常有必要的结构。 -![Git Workflows: Gitflow Cycle](https://gp1.wac.edgecastcdn.net/8029C4/wac-small/wac/landing/git/workflows/pageSections/00/contentFullWidth/0/tabs/0/pageSections/02/contentFullWidth/00/imageBinary/git-workflows-gitflow.png) +![Git Workflows: Gitflow Cycle](git-workflows-gitflow.png) ### `Forking`工作流 `Forking`工作流是分布式工作流,充分利用了`Git`在分支和克隆上的优势。可以安全可靠地管理大团队的开发者(`developer`),并能接受不信任贡献者(`contributor`)的提交。 -![Git Workflows: Forking](https://www.atlassian.com/git/workflows/pageSections/00/contentFullWidth/0/tabs/0/pageSections/04/contentColumnTwo/0/content_files/file/git-workflow-forking.png) +![Git Workflows: Forking](git-workflow-forking.png) ### `Pull Requests` `Pull requests`是`Bitbucket`让开发者更方便地进行协作的功能,提供了友好的Web界面可以在合并得提交的修改到官方项目之前对修改进行讨论。 -![Workflows: Pull Requests](https://www.atlassian.com/git/workflows/pageSections/00/contentFullWidth/0/tabs/0/pageSections/03/contentColumnTwo/0/content_files/file0/document/pull-request.png) +![Workflows: Pull Requests](pull-request.png) diff --git a/git-workflows-and-tutorials/git-workflow-feature_branch.png b/git-workflows-and-tutorials/git-workflow-feature_branch.png new file mode 100644 index 0000000..22c2346 Binary files /dev/null and b/git-workflows-and-tutorials/git-workflow-feature_branch.png differ diff --git a/git-workflows-and-tutorials/git-workflow-forking.png b/git-workflows-and-tutorials/git-workflow-forking.png new file mode 100644 index 0000000..5289d75 Binary files /dev/null and b/git-workflows-and-tutorials/git-workflow-forking.png differ diff --git a/git-workflows-and-tutorials/git-workflow-svn.png b/git-workflows-and-tutorials/git-workflow-svn.png new file mode 100644 index 0000000..3f97caa Binary files /dev/null and b/git-workflows-and-tutorials/git-workflow-svn.png differ diff --git a/git-workflows-and-tutorials/git-workflows-gitflow.png b/git-workflows-and-tutorials/git-workflows-gitflow.png new file mode 100644 index 0000000..d2ddd67 Binary files /dev/null and b/git-workflows-and-tutorials/git-workflows-gitflow.png differ diff --git a/git-workflows-and-tutorials/git_workflow.png b/git-workflows-and-tutorials/git_workflow.png new file mode 100644 index 0000000..b5462ec Binary files /dev/null and b/git-workflows-and-tutorials/git_workflow.png differ diff --git a/git-workflows-and-tutorials/pull-request.png b/git-workflows-and-tutorials/pull-request.png new file mode 100644 index 0000000..ab93ca4 Binary files /dev/null and b/git-workflows-and-tutorials/pull-request.png differ