Why create branches: in the actual project development process, the use of branch operations can ensure the integrity of the project to achieve the premise of the existing project updates and maintenance, it is a version control tool most important factor, but SVN itself also has branch management, but its branch support compared with GIT function slightly weak branch support.
1. branch basic operations: When all the projects in progress must be prepared to create a new branch, but will retain the master branch to the full version, since the need to operate a branch, so you first need to create a branch, then also need to implement branch the merger process.
● [branch] master first look into the current project existing branches: All git repository will default to create a master branch, used in the absence of any configuration of cases is the master branch
● View all branch instructions: git branch
● Create a dev sub-branch: git branch dev
● created a new branch, but still if you do not change the current master branch, all branches can now query again look at what the current branch: git branch color green branch, says the current branch
●