mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-22 17:03:46 +02:00
changes to make the game in spanish
This commit is contained in:
parent
9da0bd1fbd
commit
7c24e9b68e
101 changed files with 2073 additions and 2074 deletions
levels/low-level
|
@ -1,28 +1,28 @@
|
|||
[description]
|
||||
[descripci鏮]
|
||||
|
||||
Create two trees pointing to the same blob!
|
||||
。rea dos 嫫boles que apunten al mismo blob!
|
||||
|
||||
[setup]
|
||||
[configuraci鏮]
|
||||
|
||||
[setup goal]
|
||||
[objetivo de configuraci鏮]
|
||||
|
||||
BLOB=$(echo "I am precious" | git hash-object -w --stdin)
|
||||
BLOB=$(echo "Soy precioso" | git hash-object -w --stdin)
|
||||
git update-index --add --cacheinfo 100644,$BLOB,a
|
||||
git write-tree
|
||||
git update-index --force-remove a
|
||||
git update-index --add --cacheinfo 100644,$BLOB,b
|
||||
git write-tree
|
||||
git update-index --force-remove b
|
||||
嫫bol de escritura de git
|
||||
git update-index --forzar-eliminar un
|
||||
璯dice de actualizaci鏮 de git --add --cacheinfo 100644,$BLOB,b
|
||||
嫫bol de escritura de git
|
||||
璯dice de actualizaci鏮 de git --force-remove b
|
||||
|
||||
[win]
|
||||
[ganar]
|
||||
|
||||
TREES=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep tree | cut -f1 -d" ")
|
||||
糠BOLES=$(git cat-file --batch-check='%(nombre de objeto) %(tipo de objeto)' --batch-all-objects | 嫫bol grep | cut -f1 -d" ")
|
||||
|
||||
ALL_TREE_CHILDREN=$(for TREE in $TREES; do
|
||||
git cat-file -p $TREE | cut -f1 | cut -f3 -d" "
|
||||
done)
|
||||
ALL_TREE_CHILDREN=$(para 糠BOL en $糠BOLES; hacer
|
||||
git cat-file -p $糠BOL | cortar -f1 | cortar -f3 -d" "
|
||||
hecho)
|
||||
|
||||
NUMBER_OF_CHILDREN=$(echo "$ALL_TREE_CHILDREN" | wc -l)
|
||||
UNIQUE_CHILDREN=$(echo "$ALL_TREE_CHILDREN" | sort -u | wc -l)
|
||||
UNIQUE_CHILDREN=$(echo "$ALL_TREE_CHILDREN" | ordenar -u | wc -l)
|
||||
|
||||
test "$NUMBER_OF_CHILDREN" -gt "$UNIQUE_CHILDREN"
|
||||
prueba "$NUMBER_OF_CHILDREN" -gt "$UNIQUE_CHILDREN"
|
Loading…
Add table
Add a link
Reference in a new issue