Sustav kontrole verzija (Git) je temelj na kojem se CI/CD gradi — promjene koda u repozitoriju pokrenuvaju pipeline-ove, a strategije grananja oblikuju kako se CI/CD izvršava. Integracija Git-a i CI/CD-a je ono što omogućuje automatizirano, promjena-vođeno isporuku.
Git pokreće CI/CD
CI/CD pipelines are TRIGGERED by Git events:
→ a PUSH to a branch → runs CI (build + test) on that change
→ a PULL REQUEST → runs CI to verify the change before merging
→ a MERGE to main → may trigger deployment (CD)
→ a TAG (e.g. v1.2.0) → may trigger a release/production deployment
→ Every code change in Git automatically drives the pipeline → change-driven automation.
