2020-10-12 18:54:27 +02:00
[description]
2020-09-16 16:16:11 +02:00
This is prototype #1 for the Git learning game by @bleeptrack and @blinry. Thanks for checking it out! <3
2020-09-15 22:35:14 +02:00
2020-10-12 19:21:57 +02:00
You can interact with the repository labelled "yours" by typing Bash commands in the terminal below! The visualization will show you its internal status.
2020-09-15 22:35:14 +02:00
2020-09-16 16:16:11 +02:00
Let's get started by initializing an empty Git repository in the current directory by typing:
2020-09-15 22:35:14 +02:00
2020-09-16 16:16:11 +02:00
git init
2020-10-12 18:54:27 +02:00
[congrats]
Well done!
An empty Git repository is... well, quite empty. The only thing that always exists is a reference called "HEAD" - we'll learn what that is later!
But first, let's look at some basics!
(Click "Next Level" as soon as you're ready!)
[setup]
rm -rf .git
[setup goal]
rm -rf .git
git init
[win]
test -d .git