Git is a distributed version management control tool. Learn Git usually go to learn Git commands.
But After you learn the basic commands of Git still do not know how to use Git. First of all, we have to be clear
That is to use Git in fact there are many, that Git has a different workflow. This article describes
Look at three common Git workflow.
1. Centralized workflow
The main case is used for centralized workflow small number of teams, centralized workflow only a
The development branch. It is submitted on the same branch each modification. Write documents like this way of working
You can use a centralized workflow.
2. Gitflow Workflow
In software development and design, we have to consider the functional development, preparation and maintenance release distribution independence, soft
Pieces of testing, so the need to manage multiple branches on the version. This requires Gitflow workflow way.
Git flow also developed a workflow using the general enterprise software.
3.Forkking workflow
Forking
Workflow is distributed workflow, full use of the Git
advantage in the branch and clone.
You can securely manage large teams of developers ( developer
), and can not accept the trust contributor
( contributor
) Submission. The use of open source projects is Forkking workflow.
All in all, Git there are many ways to use, which for himself which way.
Reference links:
https://github.com/xirong/my-git/blob/master/git-workflow-tutorial.md#22- feature branch workflow