How to merge one branch to another in git-hub
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.
Step3: Enter the message and click on Create pull request.
Step4: Click on the merge pull request.
Step5: Click on confirm merge.
Step6: Successfully current branch code will be merged into the master branch.
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.
Step3: Enter the message and click on Create pull request.
Step5: Click on confirm merge.
Step6: Successfully current branch code will be merged into the master branch.
0 Response to "How to merge one branch to another in git-hub"
Post a Comment