mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #305472 from mrgiles/contributing_add_link_rebasing_squashing
contributing: add link to rebasing+squashing
This commit is contained in:
commit
bbe1fb6181
@ -512,6 +512,7 @@ To get a sense for what changes are considered mass rebuilds, see [previously me
|
||||
- Check for unnecessary whitespace with `git diff --check` before committing.
|
||||
|
||||
- If you have commits `pkg-name: oh, forgot to insert whitespace`: squash commits in this case. Use `git rebase -i`.
|
||||
See [Squashing Commits](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_squashing) for additional information.
|
||||
|
||||
- For consistency, there should not be a period at the end of the commit message's summary line (the first line of the commit message).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user