oh-my-git/levels/low-level/welcome

34 lines
722 B
Text
Raw Permalink Normal View History

[description]
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
Let's get started by initializing an empty Git repository in the current directory by typing:
2020-09-15 22:35:14 +02:00
git init
[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