mirror of https://github.com/CrimsonTome/tldr.git
git-stage: convert to alias page (#10942)
* git-stage: 'synonym' -> 'alias' * git-stage: convert to alias page Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>pull/23/head
parent
03161cf052
commit
1f4e4f8175
|
@ -1,33 +1,8 @@
|
|||
# git stage
|
||||
|
||||
> Ajouter le contenu du fichier à la zone de préparation.
|
||||
> Synonyme de `git add`.
|
||||
> Cette commande est un alias de `git add`.
|
||||
> Plus d'informations : <https://git-scm.com/docs/git-stage>.
|
||||
|
||||
- Ajouter un fichier à l'index :
|
||||
- Voir la documentation de la commande originale :
|
||||
|
||||
`git stage {{chemin/vers/fichier}}`
|
||||
|
||||
- Ajoute tous les fichiers à l'index (suivis et non-suivis) :
|
||||
|
||||
`git stage -A`
|
||||
|
||||
- Ajout uniquement des fichiers déjà suivis :
|
||||
|
||||
`git stage -u`
|
||||
|
||||
- Ajout également des fichiers ignorés :
|
||||
|
||||
`git stage -f`
|
||||
|
||||
- Ajout des fichiers par parties, interactivement :
|
||||
|
||||
`git stage -p`
|
||||
|
||||
- Ajout d'un fichier par parties, interactivement :
|
||||
|
||||
`git stage -p {{chemin/vers/fichier}}`
|
||||
|
||||
- Ajout d'un fichier, interactivement :
|
||||
|
||||
`git stage -i`
|
||||
`tldr git-add`
|
||||
|
|
|
@ -1,33 +1,8 @@
|
|||
# git stage
|
||||
|
||||
> Aggiungi file all'area di stage.
|
||||
> Sinonimo di `git add`.
|
||||
> Questo comando è un alias per `git add`.
|
||||
> Maggiori informazioni: <https://git-scm.com/docs/git-stage>.
|
||||
|
||||
- Aggiungi un file all'indice:
|
||||
- Consulta la documentazione del comando originale:
|
||||
|
||||
`git stage {{percorso/del/file}}`
|
||||
|
||||
- Aggiungi tutti i file (tracciati e non):
|
||||
|
||||
`git stage -A`
|
||||
|
||||
- Aggiungi solo file già tracciati:
|
||||
|
||||
`git stage -u`
|
||||
|
||||
- Aggiungi anche file ignorati:
|
||||
|
||||
`git stage -f`
|
||||
|
||||
- Aggiungi parti di file all'area di stage in modo interattivo:
|
||||
|
||||
`git stage -p`
|
||||
|
||||
- Aggiungi parti di un dato file all'area di stage in modo interattivo:
|
||||
|
||||
`git stage -p {{percorso/del/file}}`
|
||||
|
||||
- Aggiungi all'area di stage in modo interattivo:
|
||||
|
||||
`git stage -i`
|
||||
`tldr git-add`
|
||||
|
|
|
@ -1,33 +1,8 @@
|
|||
# git stage
|
||||
|
||||
> Değiştirilmiş dosyaları indekse ekle.
|
||||
> Bu komut `git add`'in eş anlamlısıdır.
|
||||
> Bu komut `git add` için bir takma addır.
|
||||
> Daha fazla bilgi için: <https://git-scm.com/docs/git-stage>.
|
||||
|
||||
- İndekse bir dosya ekle:
|
||||
- Asıl komutun belgelerini görüntüleyin:
|
||||
|
||||
`git stage {{örnek/dosya}}`
|
||||
|
||||
- Tüm (izlenen veya izlenmeyen) dosyaları ekle:
|
||||
|
||||
`git stage -A`
|
||||
|
||||
- Yalnızca izlenen dosyaları ekle:
|
||||
|
||||
`git stage -u`
|
||||
|
||||
- Yoksayılan dosyaları dahi ekle:
|
||||
|
||||
`git stage -f`
|
||||
|
||||
- Dosyaların parçalarını etkileşimli olarak sahnele:
|
||||
|
||||
`git stage -p`
|
||||
|
||||
- Belirtilen dosyaların parçalarını etkileşimli olarak sahnele:
|
||||
|
||||
`git stage -p {{örnek/dosya}}`
|
||||
|
||||
- Bir dosyayı etkileşimli olarak sahnele:
|
||||
|
||||
`git stage -i`
|
||||
`tldr git-add`
|
||||
|
|
|
@ -1,33 +1,8 @@
|
|||
# git stage
|
||||
|
||||
> Add file contents to the staging area.
|
||||
> Synonym of `git add`.
|
||||
> This command is an alias of `git add`.
|
||||
> More information: <https://git-scm.com/docs/git-stage>.
|
||||
|
||||
- Add a file to the index:
|
||||
- View documentation for the original command:
|
||||
|
||||
`git stage {{path/to/file}}`
|
||||
|
||||
- Add all files (tracked and untracked):
|
||||
|
||||
`git stage -A`
|
||||
|
||||
- Only add already tracked files:
|
||||
|
||||
`git stage -u`
|
||||
|
||||
- Also add ignored files:
|
||||
|
||||
`git stage -f`
|
||||
|
||||
- Interactively stage parts of files:
|
||||
|
||||
`git stage -p`
|
||||
|
||||
- Interactively stage parts of a given file:
|
||||
|
||||
`git stage -p {{path/to/file}}`
|
||||
|
||||
- Interactively stage a file:
|
||||
|
||||
`git stage -i`
|
||||
`tldr git-add`
|
||||
|
|
Loading…
Reference in New Issue