Merge pull request #305472 from mrgiles/contributing_add_link_rebasing_squashing

contributing: add link to rebasing+squashing
This commit is contained in:
Silvan Mosberger 2024-04-24 23:08:00 +02:00 committed by GitHub
commit bbe1fb6181
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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).