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/03-commit

View file

@ -0,0 +1,9 @@
So a tree describes the state of a directory structure at a specific point in time.
It would be nice if we could remember when that state existed, and who authored it, right?
Enter: commits. They are objects that point to a tree and contain some additional metadata. You can create a commit using
$ git commit-tree <tree> -m "Description of your commit"
Make a commit from the tree in this repository!

7
levels/03-commit/goal Normal file
View file

@ -0,0 +1,7 @@
touch empty_file
git add .
git write-tree
git commit-tree 3185 -m 'Clever commit message'
rm empty_file
git update-index --remove empty_file

6
levels/03-commit/start Normal file
View file

@ -0,0 +1,6 @@
touch empty_file
git add .
git write-tree
rm empty_file
git update-index --remove empty_file