mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 21:44:55 +02:00

* git-add: Add French translation Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * git-commit: Add French translation Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * git-push: Add French translation Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * git-clone: Add French translation Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * git-pull: Add French translation Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * Fixex based on PR comments Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com>
20 lines
521 B
Markdown
20 lines
521 B
Markdown
# git commit
|
|
|
|
> Commit les fichers dans le repository.
|
|
> Plus d'informations : <https://git-scm.com/docs/git-commit>.
|
|
|
|
- Commit les fichiers en stage dans le dépôt avec un message :
|
|
|
|
`git commit -m {{message}}`
|
|
|
|
- Commit tous les fichiers modifiés avec un message :
|
|
|
|
`git commit -a -m {{message}}`
|
|
|
|
- Mets à jour le dernier commit avec les modifications en stage :
|
|
|
|
`git commit --amend`
|
|
|
|
- Commit seulement les fichiers spécifiés (qui sont déjà en stage) :
|
|
|
|
`git commit {{path/to/my/file1}} {{path/to/my/file2}}`
|