|
2 anos atrás | |
---|---|---|
.. | ||
README.md | 2 anos atrás |
Branching means you diverge from the main line of development and continue to do work without messing with that main line. Branches are instances of a repository that can be edited and version controlled in parallel. You can think of it like making an entire copy of your repository folder that you can edit, without affecting the original versions of your scripts.
Branches are very useful when many people are working on the same project. Such cases are premises for lots and lots of conflicts. With branches the developers have the possibility to work on separate parts of the project without causing conflicts. When one developer finishes the feature that they are working on – the branch can be merged with the main one.
Create the new branch checking off from “master” branch (Here the branch name is: develop).
![]() |
![]() |
<branch_name>
could be the name of the PC you are working on.
Switch to that branch
![]() |
![]() |
![]() |