mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-27 20:29:22 +02:00
Polish levels some more, add a "congrats" text
This commit is contained in:
parent
6292d849b9
commit
5066840ae9
30 changed files with 87 additions and 30 deletions
levels/index-update
|
@ -2,7 +2,7 @@ Instead of removing an entry from the index and adding one with the same name, y
|
|||
|
||||
Put the content you want in a file with a matching name, and then run
|
||||
|
||||
$ git update-index <file>
|
||||
git update-index <file>
|
||||
|
||||
This will create a new blob, and update the hash of the entry to that blob.
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
test "$(git ls-files | wc -l)" -eq 0
|
||||
# This is not really a good test for the winning condition...
|
||||
test "$(git ls-files -s | git hash-object --stdin)" != "10c4b28623e7e44e09f5a596450a50ab7ac31fbe" -a "$(git ls-files | wc -l)" -eq 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue