1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages.fr/common/git-fetch.md
2020-11-10 08:17:06 -03:00

24 lines
630 B
Markdown

# git fetch
> Cherche les objets et réferences depuis un registre distant.
> Plus d'informations: <https://git-scm.com/docs/git-fetch>.
- Cherche les dernières modifications du référentiel amont distant par défaut (si configuré) :
`git fetch`
- Cherche les nouvelles branches depuis un registre distant :
`git fetch {{nom_distant}}`
- Cherche les nouvelles branches depuis tout les registres distant :
`git fetch --all`
- Recherche egalement les tags depuis le registre courrant :
`git fetch --tags`
- Supprime les références locales de branches ayant été supprimés du registre distant :
`git fetch --prune`