1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 00:44:54 +02:00
tldr/pages.fr/common/git-commit.md
Hugo Dupras 8ec0c33e44 Add French translation for git basic commands (#3483)
* 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>
2019-12-09 18:14:31 +00:00

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