docs/dev/how_to/branching_and_backporting.md
We develop and ship the current release of Chef off the main branch of this repository. Our goal is that main should always be in a shippable state. Previous stable releases of Chef are developed on their own branches named by the major version (ex: chef-16 or chef-15). We do not perform direct development on these stable branches, except to resolve build failures. Instead, we backport fixes from our main branch to these stable branches. Stable branches receive critical bugfixes and security releases, and stable Chef releases are made as necessary for security purposes.
If there is a critical fix that you believe should be backported from main to a stable branch, please follow these steps to backport your change:
SHA(s) associated with the fix.git checkout chef-16git checkout -b my_great_bug_backportgit cherry-pick SHAgit push originBackport: ORIGINAL_PR_TEXT