Extract terminal in its own scene, add a few proper levels with a description

This commit is contained in:
Sebastian Morr 2020-09-03 19:22:46 +02:00
parent ebbb505283
commit 7373984d47
18 changed files with 179 additions and 92 deletions
levels/01-blob

View file

@ -0,0 +1,11 @@
At its core, Git is very simple. It stores "objects", which are basically files identified by an "identifier" (short: ID).
There are four types of objects: blobs, trees, commits, and tags. The simplest type is a "blob", which is just a piece of text.
Let's create some blobs! To do that, create a file with the desired content, and then use
$ git hash-object -w <file>
The flag -w means "write", and tells Git to actually write the new blob to the disk.
Create three new blobs!

6
levels/01-blob/goal Normal file
View file

@ -0,0 +1,6 @@
echo "Hi" > file1
echo "Ho" > file2
echo "Hu" > file3
git hash-object -w file1
git hash-object -w file2
git hash-object -w file3

0
levels/01-blob/start Normal file
View file