Created
April 4, 2012 23:11
-
-
Save Krastanov/2306457 to your computer and use it in GitHub Desktop.
git question
This file contains 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
sympy_master --------A---------B----------C-----Merge_commit--------D <--my_pull_request_branch_1 | |
\ / | |
\-----E---------F-----/ | |
^--my_pull_request_branch_2 | |
Is it ok to have those two branches as pull requests? Does it matter which one goes in first? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Strictly speaking, it won't give an error message. It will just tell you that it is already up-to-date, meaning that you are trying to merge a commit into a branch that is already there.
This is right. But it's not an issue. You can think of merge commits as just drawing lines from one branch to another in the history graph. Rebasing moves commits around and deletes lines, but merging only draws new ones.