oh-my-git/resources/cards.json
2021-09-14 15:25:00 +02:00

291 lines
9.4 KiB
JSON

[
{
"id": "init",
"command": "git init",
"description": {
"en_EN": "Drag this card into the empty space above to initialize the time machine!",
"it_IT": "Trascina questa carta nell'area vuota sopra per inizializzare la macchina del tempo"
}
},
{
"id": "clone",
"command": "git clone ../[remote] .",
"description": {
"en_EN": "Create your own copy of someone else's repo.",
"it_IT": "Crea la copiag del Repo di qualcun'altro."
}
},
{
"id": "config-name",
"command": "git config --global user.name [string]",
"description": {
"en_EN": "Set your name.\n\n(Will not change anything outside of this game.)",
"it_IT": "Imposta il tuo nome.\n\n(Non cambierà nulla all'infuori del gioco.)"
}
},
{
"id": "config-email",
"command": "git config --global user.email [string]",
"description": {
"en_EN": "Set your email address.",
"it_IT": "Imposta la tua e-mail."
}
},
{
"id": "checkout",
"command": "git checkout [commit, ref]",
"description": {
"en_EN": "Drag this card to a commit or to a branch to travel to it!",
"it_IT": "Sposta questa carta su un commit o su una branch per viaggiare in quello specifico momento."
}
},
{
"id": "checkout-file",
"command": "git checkout [file]",
"description": {
"en_EN": "Reset changes in a local file.",
"it_IT": "Resetta i cambiamenti in un file locale"
}
},
{
"id": "checkout-from",
"command": "git checkout [commit, ref] [file]",
"description": {
"en_EN": "Get the file contents from the specified commits, and reset both the working directory, as well as the index, to it.",
"it_IT": "Prendi il contenuto del file da uno specifico commits e resetta sia la directory di lavoro sia l'indice."
}
},
{
"id": "commit-a",
"command": "git commit -a",
"description": {
"en_EN": "Make a new commit, after automatically adding all changes to the index.\nYou'll be asked to enter a short description of what you changed.",
"it_IT": "Crea un nuovo commit, dopo aver aggiunto automatico tutti i cambiamenti all'indice.|n Ti verrà chiesto di inserire una piccola descrizione di cosa hai cambiato."
}
},
{
"id": "commit-auto",
"command": "git add .; git commit",
"description": {
"en_EN": "Make a new commit containing your current environment! Type in a description of what changed!",
"it_IT": "Crea un nuovo commit contenente il tuo ambiente attuale! Scrivi nella descrizione di cosa hai cambiato"
}
},
{
"id": "merge",
"command": "git merge [commit, ref]",
"description": {
"en_EN": "Merge the specified timeline into yours. If necessary, will create a merge commit.",
"it_IT": "Unisce la linea temporale specificata con la tua. Se necessario, creerà un commit di unione."
}
},
{
"id": "merge-abort",
"command": "git merge --abort",
"description": {
"en_EN": "Abort the current merge attempt, and reconstruct the previous state.",
"it_IT": "Interrompe il corrente tentativo di unione e ricostruisce lo stato precedente."
}
},
{
"id": "rebase",
"command": "git rebase [commit]",
"description": {
"en_EN": "Put the events in your current timeline on top of the specified one.",
"it_IT": "Mette l'evento nella tua, corrente, linea temporale sopra a quello specificato."
}
},
{
"id": "pull",
"command": "git pull",
"description": {
"en_EN": "Get someone else's version of the current timeline, and try to merge it into yours.",
"it_IT": "Prende la versione corrente della line temporale di qualcun'altro e prova ad unirla alla tua."
}
},
{
"id": "fetch",
"command": "git fetch [remote]",
"description": {
"en_EN": "Get a someone else's version of the current timeline.",
"it_IT": "Prende la versione, corrente, della linea temporale di qualcun'altro"
}
},
{
"id": "push",
"command": "git push",
"description": {
"en_EN": "Give the current timeline to someone else.",
"it_IT": "Invia la corrente line temporale a qualcun'altro"
}
},
{
"id": "rebase-interactive",
"command": "git rebase -i [commit]",
"description": {
"en_EN": "Make changes to the events in your current timeline, back to the commit you drag this to.",
"it_IT": "Apporta modifiche agli eventi nella tua timeline corrente, torna al commit su cui lo trascini "
}
},
{
"id": "rebase-continue",
"command": "git rebase --continue",
"description": {
"en_EN": "Continue the current rebasing process.",
"it_IT": "Continua il corrente processo di ricostruzione"
}
},
{
"id": "reset-hard",
"command": "git reset --hard [commit]",
"description": {
"en_EN": "Move the branch you're on to the specified commit.",
"it_IT": "Muove il tuo branch (ramo) nello specifico commit."
}
},
{
"id": "reset",
"command": "git reset [commit]",
"description": {
"en_EN": "Jump to the commit, and update the index. Keep the current environment.",
"it_IT": "Salta alcommit e aggiorna l'indice. Mette l'ambiente attuale."
}
},
{
"id": "reset-file",
"command": "git reset [file]",
"description": {
"en_EN": "Reset the index version of a file to the version in the commit you're on.",
"it_IT": "Resetta la versione dell'indice di un file alla versione del commit in cui sei"
}
},
{
"id": "cherry-pick",
"command": "git cherry-pick [commit]",
"description": {
"en_EN": "Repeat the specified action on top of your current timeline.",
"it_IT": "Ripete l'azione specificata sulla corrente linea temporale"
}
},
{
"id": "revert",
"command": "git revert [commit]",
"description": {
"en_EN": "Make a new commit that reverts the changes of the speicified commit.",
"it_IT": "Crea un nuovo commit che annula le modifiche dello specifico commit"
}
},
{
"id": "bisect-start",
"command": "git bisect start",
"description": {
"en_EN": "Start looking for the commit where things got bad.",
"it_IT": "Inizia a cercare il commit dove le cose sono andate storte"
}
},
{
"id": "bisect-good",
"command": "git bisect good",
"description": {
"en_EN": "State that the current commit is good! When you're automatically transferred, keep playing the `good` and `bad` cards!",
"it_IT": "Dichiara che l'attuale commit è buono! Continua a giocare con le carte `buone` e `cattive`!"
}
},
{
"id": "bisect-bad",
"command": "git bisect bad",
"description": {
"en_EN": "State that the current commit is bad! When you're automatically transferred, keep playing the `good` and `bad` cards!",
"it_IT": "Dichiara che l'attuale commit non è valido! Continua a giocare con le carte `buone` e `cattive`!"
}
},
{
"id": "add",
"command": "git add [file]",
"description": {
"en_EN": "Update the index version of the file to its current real content.",
"it_IT": "Aggiorna l'indice del file con il, corrente, reale contenuto."
}
},
{
"id": "rm",
"command": "git rm [file]",
"description": {
"en_EN": "Delete a file both in the working directory, as well as the index.",
"it_IT": "Cancella il file sia dalla corrente directory che dall'indice."
}
},
{
"id": "commit",
"command": "git commit",
"description": {
"en_EN": "Make a commit from the current index.",
"it_IT": "Crea un commit dal corrente indice."
}
},
{
"id": "show",
"command": "git show [commit]",
"description": {
"en_EN": "Show what changed in the commit.",
"it_IT": "Mostra cosa è cambiato nel commit."
}
},
{
"id": "branch",
"command": "git branch [string]",
"description": {
"en_EN": "Create a new branch at your current location.",
"it_IT": "Crea un nuovo branch (ramo) nella tua corrente posizione."
}
},
{
"id": "branch-delete",
"command": "git branch -D [ref]",
"description": {
"en_EN": "Delete a branch.",
"it_IT": "Cancella un branch.(ramo)"
}
},
{
"id": "reflog",
"command": "git reflog [ref, head]",
"description": {
"en_EN": "Display a log of where the ref pointed to in the past.",
"it_IT": "Mostra un log di dove il riferimento puntava in passato"
}
},
{
"id": "file-new",
"command": "touch [string]",
"description": {
"en_EN": "Create a new file.",
"it_IT": "Crea un nuovo file."
}
},
{
"id": "file-delete",
"command": "rm [file]",
"description": {
"en_EN": "Delete a file.",
"it_IT": "Cancella un file."
}
},
{
"id": "file-rename",
"command": "mv [file] [string]",
"description": {
"en_EN": "Rename a file.",
"it_IT": "Rinomina un file."
}
},
{
"id": "file-copy",
"command": "cp [file] [string]",
"description": {
"en_EN": "Make a copy of a file.",
"it_IT": "Crea una copia di un file."
}
}
]