mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
33 lines
722 B
Text
33 lines
722 B
Text
[description]
|
|
|
|
This is prototype #1 for the Git learning game by @bleeptrack and @blinry. Thanks for checking it out! <3
|
|
|
|
You can interact with the repository labelled "yours" by typing Bash commands in the terminal below! The visualization will show you its internal status.
|
|
|
|
Let's get started by initializing an empty Git repository in the current directory by typing:
|
|
|
|
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
|