mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-24 16:20:08 +01:00
Double-check that players solved the "merging timelines" level correctly
Fixes #75.
This commit is contained in:
parent
44666d59ef
commit
74b59cff0a
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ git branch -D main
|
|||
# Build a situation where you consumed a baguette, a coffee, *and* a donut.
|
||||
{ git show HEAD:you | grep "You ate.*baguette"; } && { git show HEAD:you | grep "You drank.*coffee"; } && { git show HEAD:you | grep "You ate.*donut"; }
|
||||
|
||||
# Be on a merge commit.
|
||||
test "$(git log --pretty=%P -n 1 HEAD | wc -w)" -ge 2
|
||||
|
||||
[congrats]
|
||||
|
||||
I wonder if you're more relaxed when you *sleep* in parallel timelines...
|
||||
|
|
Loading…
Reference in a new issue