mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-12 15:44:25 +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
|
@ -55,10 +55,25 @@ exports.level = {
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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