mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-13 08:04:27 +02:00
fixed a little rebase bug
This commit is contained in:
parent
9249ef0604
commit
bde5681573
6 changed files with 261 additions and 15 deletions
|
@ -11,7 +11,7 @@ exports.level = {
|
|||
"markdowns": [
|
||||
"## Branches and Merging",
|
||||
"",
|
||||
"Great! We now know how to commit and branch. Now we need to learn some kind of way of combining the work from two different branches together. This will allow us to branch off, develop a new feature, and then branch it back in.",
|
||||
"Great! We now know how to commit and branch. Now we need to learn some kind of way of combining the work from two different branches together. This will allow us to branch off, develop a new feature, and then combine it back in.",
|
||||
"",
|
||||
"The first method to combine work that we will examine is `git merge`. Merging in Git creates a special commit that has two unique parents. A commit with two parents essentially means \"I want to include all the work from this parent over here and this one over here, *and* the set of all their parents.\"",
|
||||
"",
|
||||
|
@ -28,9 +28,9 @@ exports.level = {
|
|||
"We will `merge` the branch `bugFix` into `master`"
|
||||
],
|
||||
"afterMarkdowns": [
|
||||
"Woah! See that? FIrst of all, `master` now points to a commit that has two parents. If you follow the arrows upstream from `master`, you will hit every commit along the way to the root. This means that `master` contains all the work in the repository now.",
|
||||
"Woah! See that? First of all, `master` now points to a commit that has two parents. If you follow the arrows upstream from `master`, you will hit every commit along the way to the root. This means that `master` contains all the work in the repository now.",
|
||||
"",
|
||||
"Also, see how the colors of the commits changed? To help with learning, I have included some color coordination. Each branch has a unique color. Each commit turns a color that is the blended combination of all the branches that contain that color.",
|
||||
"Also, see how the colors of the commits changed? To help with learning, I have included some color coordination. Each branch has a unique color. Each commit turns a color that is the blended combination of all the branches that contain that commit.",
|
||||
"",
|
||||
"So here we see that the `master` branch color is blended into all the commits, but the `bugFix` color is not. Let's fix that..."
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue