mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
finished the mechanism for setting the language
This commit is contained in:
parent
705cc849c2
commit
50ee071f0e
214 changed files with 94 additions and 10 deletions
levels/en/intro
|
@ -1,38 +0,0 @@
|
|||
title = Welcome to time travel school!
|
||||
cards = config-name commit-auto checkout
|
||||
|
||||
[description]
|
||||
|
||||
You're still pretty confused by everything that's going on. The next day, you decide to enroll in time travel school!
|
||||
|
||||
Your time travel teacher welcomes you: "Hello there! Wanna tell us your name?"
|
||||
|
||||
[setup]
|
||||
|
||||
git config --global user.name "You"
|
||||
|
||||
echo "~ Why do you want to learn how to use time machines? ~
|
||||
|
||||
[ ] To make sure that my cat doesn't eat my homework.
|
||||
[ ] So I don't have to keep copies of all my essays.
|
||||
[ ] To collaborate with other time travel students.
|
||||
[ ] Other, please specify:" > form
|
||||
|
||||
[actions]
|
||||
|
||||
test "$(git config user.name)" != "You" && cat form | grep -v Signature && echo "
|
||||
Signature: $(git config user.name)" >> form
|
||||
|
||||
[win]
|
||||
|
||||
# Introduce yourself.
|
||||
test "$(git config user.name)" != "You"
|
||||
|
||||
# Fill out the enrollment form, and commit it!
|
||||
git show main:form | grep '\[[xX]\]'
|
||||
|
||||
[congrats]
|
||||
|
||||
"We're so glad to have you!
|
||||
|
||||
Git can help you fix problems in the past! It allows you to collaborate with other students of time travel! It's really powerful, and it's really popular! I'll see you for your first lesson tomorrow!"
|
Loading…
Add table
Add a link
Reference in a new issue