Update CONTRIBUTING.md with PR guidelines

Added guidelines for creating pull requests from branches in forks and cautioned against force-pushing.
This commit is contained in:
Frank Möhle
2026-01-17 01:25:44 +01:00
committed by GitHub
parent 855cfae224
commit c795c6a20e

View File

@@ -14,6 +14,11 @@ A good description helps us to review and understand your proposed changes. For
## Your Pull Request (PR)
### PR from a branch in your own repository
Start your pull request (PR) in a branch of your own fork; avoid making a PR directly from your `main` branch.
This allows you to update your PR if needed, while continuing to work on unrelated tasks in `main` or in other branches.
### Target branch for pull requests
Please make all PRs against the `mdev` branch.
@@ -24,6 +29,8 @@ While the PR is open - and under review by maintainers - you may be asked to mod
You can simply update your own branch, and push changes in response to reviewer recommendations.
Github will pick up the changes so your PR stays up-to-date.
You don't need to provide us with a single-commit 'squashed' PR; you can simply add commits while your pull request (PR) is open.
> [!CAUTION]
> Do not use "force-push" while your PR is open!
> It has many subtle and unexpected consequences on our github repository.