What is the purpose of branching and how many branching strategies can you apply?

devquora
devquora

Posted On: Feb 22, 2018

 

The branching in GIT is done to allow the user to create their own branch and toggle between those branches. It will allow the user to go to the previous work keeping the current work intact.

Branching Strategies:

  • Feature Branching – It keeps all the changes of a specific feature in a branch and when the feature is completely tested and validated it is merged into the master.
  • Task branching – It is included in its own branch with the task key included in the branch name.
  • Release Branching – When the developed branch acquires enough features for a release, the user can clone that branch to form a releasing branch.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Git Interview Questions

    What is GIT and why do we use it?

    GIT is a Distributed Version Control System (DVCS) and Source Code Management System (SCMS) which can track changes to a..

    Git Interview Questions

    What are GIT stash and GIT stash drop?

    GIT stash:It takes the current state of working directory and index and pushes into the stack for later and returns to ..

    Git Interview Questions

    Name some GIT commands and also explain their functions?

    GIT diff – It shows the changes between commits, commits and working tree.GIT status – It shows the difference b..