Recursive merge
You're working on a feature branch etl-update, but the main branch has progressed. You want to ensure a merge commit is created even if a fast-forward is possible. We want to ensure that the commit history of the etl-update branch is preserved and reflected in the main branch history.
Cet exercice fait partie du cours
Advanced Git
Instructions
- Write the Git command to perform a recursive merge of the
etl-updatebranch into themainbranch, forcing a merge commit. - When the editor opens, leave the message as is and exit. You can exit by pressing the keys
CTRLandXat the same time.
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice