-
-
Save ibnsamy96/94382367c9e3ab8d3d2d2d179cb8106b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging | |
// adding branch2 commets to branch1 | |
$ git checkout <branch1> | |
$ git merge <branch2> | |
// merging a branch to main | |
$ git checkout main | |
$ git merge <branch needed to be merged to main> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment