mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
Adding win descriptions
This commit is contained in:
parent
c52c742b2d
commit
34b348c8f9
2 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,7 @@ git checkout --detach main
|
||||||
|
|
||||||
[win]
|
[win]
|
||||||
|
|
||||||
|
# Order all tree branches into one and move the main branch ref
|
||||||
{ git show main:you | grep "You ate.*baguette"; } && { git show main:you | grep "You drank.*coffee"; } && { git show main:you | grep "You ate.*donut"; } && { test "$(git log main --oneline | wc -l)" -eq 7; }
|
{ git show main:you | grep "You ate.*baguette"; } && { git show main:you | grep "You drank.*coffee"; } && { git show main:you | grep "You ate.*donut"; } && { test "$(git log main --oneline | wc -l)" -eq 7; }
|
||||||
|
|
||||||
[congrats]
|
[congrats]
|
||||||
|
|
|
@ -70,6 +70,7 @@ git commit -am "Put on shirt"
|
||||||
|
|
||||||
[win]
|
[win]
|
||||||
|
|
||||||
|
# Reorder the commits to dress yourself in the correct way
|
||||||
{ git log main --oneline | grep -Pz "shoes[\s\S]*pants[\s\S]*underwear"; } && { test "$(git log main --oneline | wc -l)" -eq 5; }
|
{ git log main --oneline | grep -Pz "shoes[\s\S]*pants[\s\S]*underwear"; } && { test "$(git log main --oneline | wc -l)" -eq 5; }
|
||||||
|
|
||||||
[congrats]
|
[congrats]
|
||||||
|
|
Loading…
Reference in a new issue