mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
CONTRIBUTING.md: use backticks consistently when referring to a branch name
This commit is contained in:
@@ -210,7 +210,7 @@ The last checkbox is about whether it fits the guidelines in this `CONTRIBUTING.
|
||||
This document details our standards for commit messages, reviews, licensing of contributions, etc...
|
||||
Everyone should read and understand these standards before submitting a pull request.
|
||||
|
||||
### Rebasing between branches (i.e. from master to staging)
|
||||
### Rebasing between branches (i.e. from `master` to `staging`)
|
||||
[rebase]: #rebasing-between-branches-ie-from-master-to-staging
|
||||
|
||||
Sometimes, changes must be rebased between branches.
|
||||
@@ -271,8 +271,8 @@ To manually create a backport, follow [the standard pull request process][pr-cre
|
||||
Here is [an example](https://github.com/nixos/nixpkgs/commit/5688c39af5a6c5f3d646343443683da880eaefb8).
|
||||
|
||||
> [!Warning]
|
||||
> Ensure the commits exist on the master branch.
|
||||
> In the case of squashed or rebased merges, the commit hash will change and the new commits can be found in the merge message at the bottom of the master pull request.
|
||||
> Ensure the commits exist on the `master` branch.
|
||||
> In the case of squashed or rebased merges, the commit hash will change and the new commits can be found in the merge message at the bottom of the `master` pull request.
|
||||
|
||||
- In the pull request description, link to the original pull request to `master`.
|
||||
The pull request title should include `[YY.MM]` matching the release you're backporting to.
|
||||
@@ -460,7 +460,7 @@ Is the change [acceptable for releases][release-acceptable] and do you wish to h
|
||||
- Yes: Use the `master` branch and [backport the pull request](#how-to-backport-pull-requests).
|
||||
- No: Create separate pull requests to the `master` and `release-YY.MM` branches.
|
||||
|
||||
If the change causes a [mass rebuild][mass-rebuild], use the staging branch instead:
|
||||
If the change causes a [mass rebuild][mass-rebuild], use the `staging` branch instead:
|
||||
- Mass rebuilds to `master` should go to `staging` instead.
|
||||
- Mass rebuilds to `release-YY.MM` should go to `staging-YY.MM` instead.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user