Add a high-level level about remotes

This commit is contained in:
Sebastian Morr 2020-10-12 19:21:57 +02:00
parent f78571ec1b
commit bacadd49ae
5 changed files with 34 additions and 4 deletions
levels/high-level

View file

@ -0,0 +1,31 @@
[description]
A friend has asked you to help with an essay about hobbies! She has already started to write a list, started tracking it in a Git repository. You can get a copy by typing
git pull friend main
Help her by adding at least two more items to the list! When you're done, commit your result and use
git push friend main
to send it to her copy of the repository!
[congrats]
"Thanks, these are some really nice hobbies! Hope we can do that together soon!"
[setup]
[setup friend]
echo "~ Best hobbies ~
- Collecting stamps
- Looking at clouds" >> hobbies.txt
git add .
git commit -m "Initial list (I definitely need more)"
[win friend]
test "$(git show HEAD:hobbies.txt |wc -l)" -ge 6

View file

@ -1,5 +1,7 @@
[description]
(This chapter is not a complete introduction to Git yet, but it will explain some of the basic concepts to you.)
So you've been working on an essay about goldfish. You can look at the backup copies you made by clicking on them!
But look - something went wrong in the latest version of the file! Maybe it has been infected with a vowel-eating virus?