How to merge one branch to another in git-hub

Before going to the concept, why we merge one branch to another, what are the uses of branches. For example, two users are work for one application different locations due to ambiguity problem admin create the branches for each .so they are work on respective branches by end of the or completion of sprint schedule they are adding their code into one place. so merge the code into master branch (master branch is the final piece of code).

Step1: In my project, two branches are created, now I want to merge the development branch to the master branch.
Step2: Go to your branch which branch you merge to another. Then click on New pull request.
Development Branch
Step3: Enter the message and click on Create pull request.
Commit message
Step4: Click on the merge pull request.
Merge pull Request
Step5: Click on confirm merge.
Confirm Merge
Step6: Successfully current branch code will be merged into the master branch.
Merge Successful


I’m the Founder of I am a Professional Blogger, Application developer, YouTuber. I’ve been blogging since 2015.I spend a lot of time learning new techniques and actively help other people learn web development through a variety of help groups and writing web development tutorials for my website and blog about advancements in web design and development.Besides programming I love spending time with friends and family and can often be found together going out catching the latest movie or planning a trip to someplace I've never been before.

0 Response to "How to merge one branch to another in git-hub"

Post a Comment