git*: add French translation (#4619)
This commit is contained in:

committed by
GitHub

parent
6b167bcdd4
commit
8c8314f725
21
pages.fr/common/git-cherry-pick.md
Normal file
21
pages.fr/common/git-cherry-pick.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# git cherry-pick
|
||||
|
||||
> Appliquer les modifications introduites par les commits existants à la branche actuelle.
|
||||
> Pour appliquer les changements a une autre branche, utiliser d'abord `git checkout` pour basculer sur la branche désirée.
|
||||
> Plus d'informations: <https://git-scm.com/docs/git-cherry-pick>.
|
||||
|
||||
- Applique un commit à la branche courrante :
|
||||
|
||||
`git cherry-pick {{commit}}`
|
||||
|
||||
- Appliquer une plage de commits à la branche courrante (voir aussi `git rebase --onto`) :
|
||||
|
||||
`git cherry-pick {{start_commit}}~..{{end_commit}}`
|
||||
|
||||
- Appliquer plusieurs commits non sequentiels à la branche courrante :
|
||||
|
||||
`git cherry-pick {{commit_1}} {{commit_2}}`
|
||||
|
||||
- Appliquer les changements d'un commit a la branche courrante sans créer de commit :
|
||||
|
||||
`git cherry-pick -n {{commit}}`
|
Reference in New Issue
Block a user