Merge pull request #94 from Tokugero/patch-1

Sample of making this level more clear.
This commit is contained in:
blinry 2021-05-10 12:13:48 +02:00 committed by GitHub
commit 5b8fc43026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,8 @@ Have a look at these two timelines. They have exactly the same outcome. But one
[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]
@ -46,5 +47,5 @@ git checkout HEAD~3
[win]
# Pick the timeline that's clearer, and make the next logical change!
git show step-by-step:smoke_detector | grep -v "absolutely silent"
# Pick the timeline that's clearer, and make the alarm go off!
git show step-by-step:smoke_detector | tail -n 1 | grep -v "absolutely silent"