1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 00:24:56 +02:00
tldr/pages.fr/common/git-push.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

32 lines
937 B
Markdown

# git push
> Pousse les commits vers un dépôt distant.
> Plus d'informations: <https://git-scm.com/docs/git-push>.
- Envoie les changements locaux dans la branch courante vers sa contrepartie distante :
`git push`
- Envoie les changements locaux d'une branche spécifique vers sa contrepartie distante :
`git push {{remote_name}} {{local_branch}}`
- Publie la branche courante vers un dépôt distant, crée le nom de la branche distante :
`git push {{remote_name}} -u {{remote_branch}}`
- Envoi les changements locaux sur toutes les branches locales vers leur contrepartie sur le dépôt distant :
`git push --all {{remote_name}}`
- Supprime une branche dans un dépôt distant :
`git push {{remote_name}} --delete {{remote_branch}}`
- Supprime les branches distantes qui n'ont pas de contrepartie locale :
`git push --prune {{remote_name}}`
- Publie les tags qui ne sont pas sur le dépôt distant :
`git push --tags`