tldr/pages.fr/common/git-pr.md

21 lines
450 B
Markdown
Raw Normal View History

2020-11-10 11:17:06 +00:00
# git pr
> Récupère les pull-requests GitHub localement.
> Plus d'informations : <https://github.com/tj/git-extras/blob/master/Commands.md#git-pr>.
2020-11-10 11:17:06 +00:00
- Récupère une pull-request spécifique :
2020-11-10 11:17:06 +00:00
`git pr {{pr_number}}`
- Récupère une pull-request d'un dépôt spécifique :
2020-11-10 11:17:06 +00:00
`git pr {{pr_number}} {{distant}}`
- Récupère une pull-request depuis son URL :
2020-11-10 11:17:06 +00:00
`git pr {{url}}`
- Nettoie les branches de pull-requests terminées :
2020-11-10 11:17:06 +00:00
`git pr clean`