Files
tldr/pages.fr/common/git-merge.md
2021-10-01 15:28:01 -03:00

25 lines
550 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# git merge
> Pour fusionner des branches `git`.
> Plus d'informations : <https://git-scm.com/docs/git-merge>.
- Fusionne une branche dans votre branche courante :
`git merge {{nom_de_branche}}`
- Editer le message de fusion (`merge commit`) :
`git merge -e {{nom_de_branche}}`
- Fusionner une branche et créer un commit de fusion (`merge commit`) :
`git merge --no-ff {{nom_de_branche}}`
- Annuler une fusion en cas de conflit :
`git merge --abort`
- Continuer une fusion après une résolution de conflit :
`git merge --continue`