To cut a release is to fix exactly which code goes into a version. You decide what's in, freeze it, create a release branch or a tag at that point, and give it a version number. New work carries on towards the next release while the cut is tested, fixed and shipped.
The moment itself is the release cut, and the deadline for it is the release cut-off. This guide covers how to cut a release with a release branch or with tags, how to version it, what the code freeze is for, what happens between the cut and production, and a checklist for the day.
What does cutting a release mean?
Cutting a release is four things done together:
- Decide what's in. Everything merged before the cut-off goes in. Anything later, or unfinished, waits for the next release.
- Freeze it. The release stops taking new features. From now on, only fixes for problems found in it go in.
- Mark it in git. A release branch, a tag, or both, so everyone builds and tests exactly the same code.
- Give it a version. The number your release notes, your support team and your deployment history will use for it.
The cut is not the deployment. A release is usually cut days before it reaches production, and the time in between is for testing it on its way through your environments.
Release branch or tag: how to cut a release in git
There are two common ways to make the cut. Which one fits depends on how often you release and how long a release needs to settle.
Cutting a release branch
With release branches, you branch from main at the cut point. Main stays open for the next release; the release branch only takes fixes.
# make sure your local main matches the remote
git switch main
git pull --ff-only
# cut the release branch from main and share it
git switch -c release/2.4 main
git push -u origin release/2.4
Build from the branch, deploy it to your test environments and fix what testing finds. When it is ready, tag the exact commit you ship:
git switch release/2.4
git tag -a v2.4.0 -m "Release 2.4.0"
git push origin v2.4.0
A plain git push doesn't send tags, so push the tag by name. Use annotated tags (-a) for releases: they record who tagged, when and why, and the git tag documentation says annotated tags are meant for releases and lightweight ones for private or temporary labels.
Release branches suit teams that stabilise a release over several days, support more than one version at a time, or ship software that customers install themselves.
Cutting with a tag in trunk-based development
In trunk-based development, main is kept releasable and there is often no release branch at all. The cut is a tag on a commit that has passed CI:
git switch main
git pull --ff-only
git log --oneline -5 # pick a commit that passed CI
git tag -a v2.4.0 -m "Release 2.4.0" 3f2c9e1
git push origin v2.4.0
If that release needs a fix before the next one ships, create the branch only then, from the tag. The Trunk Based Development site calls this late creation of release branches:
git switch -c release/2.4 v2.4.0
git cherry-pick -x 8d41a7b # the fix, already merged to main
git tag -a v2.4.1 -m "Release 2.4.1"
git push origin release/2.4 v2.4.1
Tags suit teams that release often and keep main green. Most of the time there is nothing to maintain except the tag.
How to version the cut
Decide the version at the cut, because the cut decides what's in. With Semantic Versioning, a version is MAJOR.MINOR.PATCH:
- MAJOR for incompatible changes, such as removing an API endpoint.
- MINOR for new functionality that is backward compatible.
- PATCH for backward compatible bug fixes.
A release candidate gets a pre-release label, such as 2.4.0-rc.1, which sorts before 2.4.0. Tag names usually add a v, as in v2.4.0; the semver.org FAQ points out that the v is a common prefix for the tag, not part of the version. Fixes released later from the same branch become 2.4.1, 2.4.2 and so on.
Code freeze and the release cut-off
The release cut-off is the moment the scope closes, for example Tuesday at 12:00. Anything merged before it is in; anything after it waits. Put it in your software release plan and announce it a few days ahead, so nobody finds out at 11:55.
The code freeze follows the cut: the release takes only fixes for problems found in it. Write the rules down before it starts:
- What may go in: fixes for bugs found in this release, the version change and the release notes.
- Who decides exceptions: one person, usually the release manager.
- How fixes go in: merged to main first, then cherry-picked, so no fix goes missing from the next release.
- How long it lasts: as short as testing allows. A long freeze builds up a big, risky merge for later.
The cherry-pick is three commands. The -x option adds the original commit to the message, which the git cherry-pick documentation suggests when you copy a fix between public branches:
git switch release/2.4
git cherry-pick -x 8d41a7b
git push
With a release branch, the freeze applies only to the branch and main stays open. Without one, a freeze means pausing merges to main, which is a good reason to keep it to hours. A code freeze is also not a change freeze: the period, often over the holidays, when nothing goes to production at all.
What happens after the cut?
- Stabilise. Deploy the cut to your test environments and run the regression tests. Triage every bug: fix it in this release, or move it to the next.
- Fix through main. Merge each fix to main, then cherry-pick it to the release branch, as above.
- Write the release notes from what changed since the last release (
git log --oneline v2.3.0..release/2.4lists it), then rewrite them for readers: see how to write release notes. - Deploy through the environments. The same build, in order (Dev, Test, Staging, Production), with each deployment recorded as it happens.
- Run release day from a checklist with an owner for every step. The release runbook template is a good start.
- Tidy up. Delete the release branch once that version is no longer in production; the tags keep the history.
A release-cut checklist
- The cut-off time was announced in advance.
- Everything planned for this release is merged, or explicitly moved to the next one.
- The commit you are cutting from has passed CI.
- The release branch or tag is created from that commit and pushed.
- The version is decided and set wherever your build reads it.
- Main has moved on to the next version, if your build records one.
- The freeze rules are posted: what may go in, and who decides.
- The release notes draft is started from the changes since the last release.
- The release plan shows the release as in progress, with its dates.
- The first deployment of the cut is done and recorded.
- Every release-day step has an owner.
- The final tag is pushed before the release notes are published.
How Releasecut records the cut and what follows
Releasecut is named after this moment: the point where a release stops being a plan and becomes something you have to get safely to production. It doesn't cut the branch or run your pipeline; git and your CI do that. It keeps the record of what happens from the cut to production:
- The release sits in your plan with its version, dates, status and the environment it is in now.
- Release day runs from a checklist. Every organisation gets a built-in "Standard release day" template whose first steps are announcing the release window and "Freeze merges and cut the release branch", followed by the backup, staging, sign-off, production and publishing the notes. Each step has an owner, everyone sees the same live progress, and the next owner can get an email when the step before theirs is done.
- Deployments to each environment are recorded by hand, by changing the environment in the grid, or from CI through the API, with who or what recorded them and the outcome. Re-deploying a release that an environment ran before is recorded as a rollback, and a release-day step linked to an environment ticks itself when a deployment there is recorded.
- What's live is on the Environments screen: what each environment runs now, since when, and the history behind it. That is what's deployed where, without asking in chat.
- Afterwards, the run shows planned against actual time for every step, and a post-implementation review can be copied as Markdown.
Step nudges and the API depend on your plan; see pricing.

Questions
What is the difference between a release branch and a tag?
A tag marks one commit and never moves: it is how you say "this exact code is 2.4.0". A release branch is a line of development that can take fixes after the cut, and each fix released from it gets its own tag.
How long should a code freeze last?
As long as testing the release takes, and no longer: hours to a few days for most teams. With a release branch only the branch is frozen, so everyone else keeps working on main.
Is cutting a release the same as deploying it?
No. The cut decides and marks what's in a version; deploying puts that version into an environment. A release is usually cut first and reaches production days later.
When should you cut a release branch?
At the cut-off in your release plan, a few days before the production date, once everything planned is merged. Trunk-based teams often skip it and create the branch from the tag only when a fix is needed.