mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
Sample of making this level more clear.
It wasn't at all clear how to solve this until I came to look at the actual tests. The first win condition step also didn't display which may have been a result of the format? Here's an example of something that might be more clear to the player.
This commit is contained in:
parent
1606e0565e
commit
f9123b5652
1 changed files with 4 additions and 3 deletions
|
@ -9,7 +9,8 @@ Have a look at these two timelines. They have exactly the same outcome. But one
|
||||||
|
|
||||||
[win]
|
[win]
|
||||||
|
|
||||||
Right! Having each change in its own commit makes it easier to understand what's going on! Let's learn how to do that!
|
# Right! Having each change in its own commit makes it easier to understand what's going on! Let's learn how to do that!
|
||||||
|
git branch --show-current | grep step-by-step
|
||||||
|
|
||||||
[setup]
|
[setup]
|
||||||
|
|
||||||
|
@ -46,5 +47,5 @@ git checkout HEAD~3
|
||||||
|
|
||||||
[win]
|
[win]
|
||||||
|
|
||||||
# Pick the timeline that's clearer, and make the next logical change!
|
# Pick the timeline that's clearer, and make the alarm go off!
|
||||||
git show step-by-step:smoke_detector | grep -v "absolutely silent"
|
git show step-by-step:smoke_detector | tail -n 1 | grep -v "absolutely silent"
|
||||||
|
|
Loading…
Reference in a new issue