diff options
author | Daniel Lange <DLange@git.local> | 2021-09-21 08:35:20 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-09-21 08:35:20 +0200 |
commit | a2b6942d15d220bb0518003d4f818a922d88e9f9 (patch) | |
tree | 7f60a44dec34af24da75b8d5b68c88eca94b9f6a /docs/styleguide.md | |
parent | 37d8824862a2f6b9375022e1c45ba4548162650f (diff) | |
parent | 69f439eff387a6ecb52734e400b297a3c85f2285 (diff) | |
download | debian_htop-a2b6942d15d220bb0518003d4f818a922d88e9f9.tar.gz debian_htop-a2b6942d15d220bb0518003d4f818a922d88e9f9.tar.bz2 debian_htop-a2b6942d15d220bb0518003d4f818a922d88e9f9.zip |
Update upstream source from tag 'upstream/3.1.0'
Update to upstream version '3.1.0'
with Debian dir d4ecdd99a38d7105de46689cebcb051bf0046a76
Diffstat (limited to 'docs/styleguide.md')
-rw-r--r-- | docs/styleguide.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/styleguide.md b/docs/styleguide.md index a0856c4..d8fe264 100644 --- a/docs/styleguide.md +++ b/docs/styleguide.md @@ -222,3 +222,20 @@ It does only insert a paragraph if you insert a blank line into the source file. This way git can better diff and present the changes when documentation is altered. Documentation files reside in the `docs/` directory and have a `.md` extension. + +Writing pull-requests (PRs) +--------------------------- + +When writing your PR or patch, the set of patches should contain the minimal changes required. +Each patch in itself should ideally be self-contained and runable. + +A PR should not contain any merge commits. +To follow the upstream branch of your PR rebase your work instead. + +Avoid small commits that just fix typos that another of your commits introduced. +Instead squash those changes in the appropriate commit that introduced that mistake. +Git offers `git commit --fixup=<commit>` and `git rebase -i --autosquash` to help you with this. + +Your final PR should contain a minimal set of reasonably sized commits that by themselves are easy to review. + +Rebase early. Rebase often. |