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>
This commit is contained in:
cyqsimon
2023-11-01 13:12:48 +08:00
committed by GitHub
parent 03161cf052
commit 1f4e4f8175
4 changed files with 12 additions and 112 deletions

View File

@@ -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`