mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +02:00
Issue #109 Elaborate more on relative refs number 2 level
This commit is contained in:
parent
b19a1e2bc5
commit
9e24c2dfa2
6 changed files with 48 additions and 3 deletions
|
@ -21324,10 +21324,25 @@ require.define("/src/levels/rampup/relativeRefs2.js",function(require,module,exp
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "GitDemonstrationView",
|
||||
"options": {
|
||||
"beforeMarkdowns": [
|
||||
"Let's see that previous command in action"
|
||||
],
|
||||
"afterMarkdowns": [
|
||||
"There we go! Relative refs gave us a concise way to refer to `C1` and branch forcing (`-f`) gave us a way to quickly move a branch to that location"
|
||||
],
|
||||
"command": "git branch -f master HEAD~3",
|
||||
"beforeCommand": "git commit; git commit; git commit; git checkout -b bugFix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ModalAlert",
|
||||
"options": {
|
||||
"markdowns": [
|
||||
"Now that you have seen relative refs and branch forcing in combination, lets use them to solve the next level.",
|
||||
"",
|
||||
"To complete this level, move `HEAD`, `master`, and `bugFix` to their goal destinations shown."
|
||||
]
|
||||
}
|
||||
|
@ -40756,10 +40771,25 @@ require.define("/src/levels/rampup/relativeRefs2.js",function(require,module,exp
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "GitDemonstrationView",
|
||||
"options": {
|
||||
"beforeMarkdowns": [
|
||||
"Let's see that previous command in action"
|
||||
],
|
||||
"afterMarkdowns": [
|
||||
"There we go! Relative refs gave us a concise way to refer to `C1` and branch forcing (`-f`) gave us a way to quickly move a branch to that location"
|
||||
],
|
||||
"command": "git branch -f master HEAD~3",
|
||||
"beforeCommand": "git commit; git commit; git commit; git checkout -b bugFix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ModalAlert",
|
||||
"options": {
|
||||
"markdowns": [
|
||||
"Now that you have seen relative refs and branch forcing in combination, lets use them to solve the next level.",
|
||||
"",
|
||||
"To complete this level, move `HEAD`, `master`, and `bugFix` to their goal destinations shown."
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue