Git for Drupal project maintainers

The pages in this guide provide details on what to name branches and releases, create releases, and other information useful for project maintainers.

See the following pages for background information:

The companion Using Git to contribute to Drupal guide has additional information that is useful to project maintainers (as well as other contributors).

Committing changes

How to commit changes from a patch file on an issue, giving proper credit

Types of releases for full projects

Development and official releases

Release naming conventions

How to choose good names for project branches and tags, which correspond to releases

Creating a project release

How to create a development or official release of your project

Making a security release

Making a security (or critical bug hotfix) release on top of a stable release

Making change logs and release notes

Using git fame and other tools to make change logs and release notes

Moving from a master to a major version branch

How to make the "master" branch into a major version branch

Reviewing and merging merge requests

How to review and merge a merge request

Troubleshooting git push errors

How to fix error messages encountered with the git push command

Uncommon situations

How to deal with several situations that may occur as a project maintainer

Tags