devsuccess101 / bootcamp-git-trunk-based

Trunk-based Development Workflow Bootcamp

Home Page:https://tbd.devsuccess101.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git Training

This repository is used for training purposes about Trunk-based Development workflow.

Daily Workflow

  1. Start a feature branch: Start by creating a new short-lived feature branch from the main/trunk branch.
git checkout -b feature/new-feature main
  1. Work on the short-lived feature branch (< 2 days) & few file changes.
  • Add feature flags for incompleted feature.
  • Make sure the source is releasable (with both cases: the feature flag enabled & disabled).
  1. Merge the feature branch into the main branch
git checkout main
git merge --no-ff feature/new-feature
git push origin main
  1. Delete the feature branch

About

Trunk-based Development Workflow Bootcamp

https://tbd.devsuccess101.com

License:MIT License