mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-16 21:38:24 +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,38 +1,38 @@
|
|||
[description]
|
||||
[descripci鏮]
|
||||
|
||||
At its core, Git is very simple. It stores "objects", which are basically files identified by an "identifier" (short: ID).
|
||||
En esencia, Git es muy simple. Almacena "objetos", que son b嫳icamente archivos identificados por un "identificador" (abreviado: 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.
|
||||
Hay cuatro tipos de objetos: blobs, 嫫boles, confirmaciones y etiquetas. El tipo m嫳 simple es un "blob", que es simplemente un fragmento de texto.
|
||||
|
||||
Let's create some blobs! To do that, create a file with the desired content, and then use
|
||||
。reemos algunas manchas! Para hacer eso, cree un archivo con el contenido deseado y luego use
|
||||
|
||||
git hash-object -w <file>
|
||||
git hash-object -w <archivo>
|
||||
|
||||
The flag -w means "write", and tells Git to actually write the new blob to the disk.
|
||||
La bandera -w significa "escribir" y le dice a Git que realmente escriba el nuevo blob en el disco.
|
||||
|
||||
Create three new blobs!
|
||||
。rea tres nuevos blobs!
|
||||
|
||||
[congrats]
|
||||
[felicitaciones]
|
||||
|
||||
Tip: You can also use a command like this to create a blob in a single line:
|
||||
Consejo: Tambi幯 puedes usar un comando como este para crear un blob en una sola l璯ea:
|
||||
|
||||
echo "awesome content" | git hash-object -w --stdin
|
||||
echo "contenido incre燢le" | git hash-objeto -w --stdin
|
||||
|
||||
Did you already notice that you can drag and drop all objects? :)
|
||||
璣a notaste que puedes arrastrar y soltar todos los objetos? :)
|
||||
|
||||
[setup]
|
||||
[configuraci鏮]
|
||||
|
||||
[setup goal]
|
||||
[objetivo de configuraci鏮]
|
||||
|
||||
echo "Hi" > file1
|
||||
echo "Ho" > file2
|
||||
echo "Hu" > file3
|
||||
git hash-object -w file1
|
||||
git hash-object -w file2
|
||||
git hash-object -w file3
|
||||
eco "Hola" > archivo1
|
||||
eco "Ho" > archivo2
|
||||
eco "Hu" > archivo3
|
||||
git hash-objeto -w archivo1
|
||||
git hash-objeto -w archivo2
|
||||
git hash-objeto -w archivo3
|
||||
|
||||
[win]
|
||||
[ganar]
|
||||
|
||||
BLOB_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep blob | wc -l)
|
||||
BLOB_COUNT=$(git cat-file --batch-check='%(nombre de objeto) %(tipo de objeto)' --batch-all-objects | grep blob | wc -l)
|
||||
|
||||
test "$BLOB_COUNT" -gt 2
|
||||
prueba "$BLOB_COUNT" -gt 2
|
Loading…
Add table
Add a link
Reference in a new issue