27 September 2024
The PMD team is pleased to announce PMD 7.6.0.
This is a minor release.
We are joining the Git community and updating âmasterâ to âmainâ. Using the term âmasterâ for the main
development branch can be offensive to some people. Existing versions of Git have been always capable of
working with any branch name and since 2.28.0 (July 2020) the default initial branch is configurable
(init.defaultBranch
). Since October 2020, the default branch for new repositories on GitHub
is âmainâ. Finally, PMD will also use this new name for the main branch in all our own repositories.
Why âmainâ? PMD uses a very simple branching model - pull requests with feature branches and one main development branch, from which releases are created. Thatâs why âmainâ is currently the best fitting name.
More information:
What changes?
main
from
now on.git branch --move master main
git fetch origin
git branch --set-upstream-to=origin/main main
git remote set-head origin --auto
More info: https://git-scm.com/book/en/v2/Git-Branching-Branch-Management#_changing_master and https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch#updating-a-local-clone-after-a-branch-name-changes
main
as
well (Settings > Default Branch).main
can be used.--show-suppressed
needs to mention xml, html, summaryhtmlNo changes.