mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
33 lines
739 B
Text
33 lines
739 B
Text
title = Your first remote
|
|
|
|
[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
|