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:
@@ -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`
|
||||
|
Reference in New Issue
Block a user