bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/Git/Git Advanced
Git•Git Advanced

Git CI/CD

What is CI/CD?

Ci/cd

stands for

Continuous Integration and

Formula

Continuous Deployment/Delivery.

It means your code is automatically tested and deployed every time you push. This helps you catch bugs early and deliver features faster, with less manual work.

Why Use CI/CD?

Formula

CI/CD automates the process of testing and deploying your code. This means:

Find bugs before they reach users

Deploy changes faster and more safely

Reduce manual steps and mistakes

Get quick feedback on every push

How Does CI/CD Work with Git?

Every time you push code to your Git repository:

Formula

The CI/CD service (like GitHub Actions or GitLab CI) detects the change

It runs tests, builds your project, and can deploy automatically If something fails, you get notified right away

Example Workflow

Formula

[Developer] -- push --> [Git Repository] -- triggers --> [CI/CD Pipeline: Test, Build, Deploy]

Popular CI/CD Services

GitHub Actions:

Formula

Built into GitHub, uses YAML files in.github/workflows/

GitLab CI/CD:

Formula

Built into GitLab, uses.gitlab - ci.yml

CircleCI:

Formula

Works with GitHub/GitLab, easy setup for many languages

Travis CI:

Formula

Popular for open - source, uses.travis.yml

Azure Pipelines:

Works with Azure DevOps and GitHub, supports many platforms

Key CI/CD Concepts

Here are some important terms:

Workflow:

A series of jobs that run together

Job:

A group of steps that run together

Step:

A single task, like checking out code or running tests

Runner:

Previous

Git Merge Conflicts

Next

Git Hooks