mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-11 05:02:26 +02:00
some traductions
This commit is contained in:
parent
f98922ca5c
commit
90574216dc
10 changed files with 141 additions and 136 deletions
levels/it_IT/index
|
@ -1,28 +1,28 @@
|
|||
title = Add new files to the index
|
||||
title = Aggiungi nuovi file all'indice
|
||||
cards = add commit
|
||||
|
||||
[description]
|
||||
|
||||
So far, when we made a commit, we've always recorded the current status of all objects, right?
|
||||
Finora, quando abbiamo eseguito un commit abbiamo sempre registrato lo stato di tutti gli oggetti, vero?
|
||||
|
||||
But Git allows you to pick which changes you want to put in a commit!
|
||||
Ma Git ti permette di prendere i cambiamenti che voui mettere in un commit!
|
||||
|
||||
To learn how that works, we need to learn about the "index"! In the index, we can prepare what will be in the next commit. In this game, the index is represented by a blue aura around icons in the file browser!
|
||||
Per sapere come funziona, dobbiamo conoscere l'"indice"! Nell'indice, possiamo preparare ciò che sarà nel prossimo commit. In questo gioco, l'indice è rappresentato da un'aura blu attorno alle icone nel browser dei file!
|
||||
|
||||
Initially, the index is empty. To make a commit that contains a new file, we need to add it!
|
||||
Inizialmente, l'indice è vuoto. Per fare un commit che contenga un nuovo file, dobbiamo aggiungerlo!
|
||||
|
||||
[cli]
|
||||
|
||||
You can use tab completion in the terminal! Start typing a filename, then press the tab key to complete its name. This will often save you some time!
|
||||
Puoi usare il completamento con la tabulazione nel terminale! Inizia a scrivere un nome file e premi il tasto tab per completare il nome. Questo ti permette di risparmiare tempo!
|
||||
|
||||
[setup]
|
||||
|
||||
echo "The candle is burning with a blue flame." > candle
|
||||
echo "La candela brucia con una fiamma blue." > candle
|
||||
|
||||
[win]
|
||||
|
||||
# Add the candle.
|
||||
# Aggiungi la candela.
|
||||
test "$(git diff --cached --name-only)" = "candle" || file -f .git/candle-added && touch .git/candle-added
|
||||
|
||||
# Make a commit.
|
||||
# Crea un commit.
|
||||
test "$(git ls-tree --name-only HEAD)" = "candle"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue