Branch & Child branch creating

Branching

This feature is provided in git, so that developers can create code related to different functionalities on separate branches. 

This helps the development team in creating the code in an uncluttered way. 

Later this code can be merged with master branch. 

Default branch of git is “Master” 

Developer working on multiple functionalities. 

Eg: 

Home Page   —  f1  f2   f3 

Services   —  f4  f5 

Contact US  —  f6  f7   f8 

Commands: 

Commands: git init 

Default branch is master. 

Command: git log ––oneline 

Command: git branch branchname 

Command: git checkout banchname 

Command: git branch test 

Creating new files and move to local repository. 

Command: git checkout master 

Command: git merge branchname 

Leave a Comment

MFH IT Solutions (Regd No -LIN : AP-03-46-003-03147775)

Consultation & project support organization.

Contact

MFH IT Solutions (Regd)
NAD Kotha Road, Opp Bashyam School, Butchurajupalem, Jaya Prakash Nagar Visakhapatnam, Andhra Pradesh – 530027