Git avancé
Amanda Crawford-Adamo
Software and Data Engineer

$$
$$

Passez à la branche main
$ git checkout main
Créez un commit « squash » de tous les changements de data-cleanup
$ git merge --squash data-cleanup
Validez le commit « squash » dans l'historique de main
$ git commit -m "Implement and optimize data cleanup"

$$
$$

Commande de fusion octopus Git
git merge -s octopus
Exemple
$ git merge -s octopus ingest transform load
Trying simple merge with ingest
Trying simple merge with transform
Trying simple merge with load
Merge made by the 'octopus' strategy.
...

Fusion squash
git merge --squash <source_branch>
Fusion octopus
git merge -s octopus <branch 1> <branch 2> <branch 3>
Git avancé