Git workflows,
explained.
Learn the Gitflow branching model, see how it compares to GitHub Flow and trunk-based development, and get hands-on with step-by-step Git tutorials.
develop gets the fix too.Four workflows, one question: how does your team ship?
From first commit to tagged release
Install and configure Git
Install Git on macOS, Windows or Linux and set the handful of settings every developer should have.
beginnerYour first repository
Create a repository, stage changes, commit, and read the history. The core Git loop in ten minutes.
beginnerBranching and merging
Create branches, switch between them, and merge them back. This is the building block of every Git workflow.
intermediateThe Gitflow workflow, step by step
Run a full Gitflow cycle (feature, release and hotfix) with plain Git commands and with the git-flow extension.
intermediateRebase vs merge
Two ways to combine work. What each does to history, when to use which, and the one rule you must never break.
intermediateUndoing things in Git
restore, reset, revert and reflog. Pick the right undo for the situation and recover "lost" work.
beginnerRemotes and pull requests
Clone, fetch, pull and push, then open a pull request. How Git workflows play out on GitHub and GitLab.
referenceThe Gitflow cheat sheet
Every command for features, releases and hotfixes on one page.
One Git tip a week
Short, practical, no spam. Get the free printable Gitflow cheat sheet when you join.
Newsletter launching soon.