Git Branching Model
Git Branching Model
Git Branching
Model for
Automation Framework
Jatin Shharma
Jatin Shharma
Test Automation Academy
4 eyes Principles
Less Conflicts
Jatin Shharma
Test Automation Academy
.git
master
Origin/master
C1 <- head
integration
Origin/integration
C1 <- head
Jatin Shharma
Test Automation Academy
Jatin Shharma
Test Automation Academy
Jatin Shharma
Test Automation Academy
Jatin Shharma
Test Automation Academy
.git
.git
integration integration
C1 C1
featureBranch1 featureBranch2
C1 C1
.git
integration
C1
featureBranch1 Origin/featureBranch1
C1
QAs will work on their respective feature branches and push the branch into the remote
Repository and raise a Merge Request (MR) to merge Feature branches to Integration
Jatin Shharma
Test Automation Academy
C1 C1
feature integration
reject
Fix issues/ Conflicts and make code Proper and
create a new
Merge Request
Merging Feature Branches into Integration Branch is a major deal breaker in your
Project Cycle. Jatin Shharma
This is where our definition of done is achieved!
Test Automation Academy
/02
Controlling
Commit Message
Let’s start ...
Jatin Shharma
Test Automation Academy
.gitMessage File helps in defining the template for all the commits from your system
Jatin Shharma
Test Automation Academy
Jatin Shharma
Test Automation Academy
Jatin Shharma
Test Automation Academy
Jatin Shharma