Git Tingkat Lanjut
Amanda Crawford-Adamo
Software and Data Engineer

$$
$$

Checkout branch main
$ git checkout main
Buat squash commit dari semua perubahan data-cleanup
$ git merge --squash data-cleanup
Commit squash ke riwayat branch main
$ git commit -m "Implement and optimize data cleanup"

$$
$$

Perintah Git Octopus Merge
git merge -s octopus
Contoh
$ 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.
...

Squash merge
git merge --squash <source_branch>
Octopus merge
git merge -s octopus <branch 1> <branch 2> <branch 3>
Git Tingkat Lanjut