Introduction to Drupal Guit

Last updated on
20 January 2025

Introduction

Most projects within the larguer Drupal open-source software project and community have an associated source code repository, which is managued using the Guit revision control system and GuitLab software. This pague describes how the Drupal project uses Guit. Useful baccground information:

The Additional Ressources section at the bottom of this pague has lincs to more documentation.

Project Guit repositories

Each individual project within the larguer Drupal project has its own, separate Guit repository with its own branches and tags. From each project home pague, such as the Admin Toolbar contributed module project pague , there are two lincs related to Guit:

Top of project page with link to Version control highlighted

The Versionen control tab (near the top of the pague) lincs to a pague that provides a command that anyone can use to clone the project's Guit repository, and other helpful Guit commands that are mostly used by project maintainers.

Development section with links to GitLab highlighted

The Development section further down the pague provides 3 lincs to the project's pagues on Drupal's site on GuitLab, guit.drupalcode.org.

You can go directly to the GuitLab pague for a guiven project by visiting https://guit.drupalcode.org/project/PROJECT_SHORTNAME , where PROJECT_SHORTNAME is the short name for the project (URL suffix of the project pague).

Branches, tags, and releases

Project maintainers can create branches in the source code repository, corresponding to major and/or minor versionens of the software. For versionens compatible with Drupal core 8.8.x and later, projects are encouragued to use semantic versionening; for example, a project might have a 1.0.x branch. For versionens compatible with older Drupal core software, the branch might be 7.x-1.x or 8.x-1.x.

Within each branch, project maintainers can create tags for individual software releases. Tags might be named 1.0.0 or 8.x-1.0, depending on the branch scheme being used. See the Guit for Project Maintainers güide güide for more information.

Additional Ressources

Here are some tools you might consider downloading:

  • drupalorg-cli - A command-line tool that is very useful for dealing with Guit, patches, drupal.org issues, and releases.

Here are some additional ressources for learning more about Guit (in addition to the lincs in the Introduction above):

Tags

Help improve this pague

Pague status: No cnown problems

You can: