Develop
- Local server setup
- Development tools
- Using Composer
- Git version control system
- Managing a drupal.org theme, module, or distribution project
- Security
- Drupal project issues
- Usability testing
- Profiling Drupal
- [Obsolete] Coding standards
- User interface standards
- Theming Drupal
- Creating custom modules
- Drupal APIs
- Automated Testing
- Upgrading and converting Drupal 7 modules
- Core modules and themes
- External Libraries in Core
- Mobile guide
- Decoupled Drupal
Git version control system
The Drupal open-source software project and community organizes itself into projects. Most projects have an associated source code repository.
We use the Git revision control system to track changes to project source code. And we use GitLab software to provide a web interface to Git and other features. Most changes to source code are managed using issues on the drupal.org web site. See Drupal project issues for more information about projects and issues.
The pages in this guide will help you learn how to use Git in Drupal projects.
Introduction to Drupal Git
Introduction to how the Drupal project uses Git, with links to external documentation
Setting up Git for Drupal and get GitLab access
How to install, configure, and set up Git to use with the Drupal project, and get GitLab access
Using Git to contribute to Drupal
How to do various tasks with Git to contribute to improving the Drupal software and documentation
Using GitLab to contribute to Drupal
How to use GitLab to contribute to improving the Drupal software and documentation
- Introduction
- Creating issue forks
- Creating merge requests
- Rebase a merge request
- Reviewing merge requests
- GitLab CI
- Editing a merge request
- Policy for use of Personal Access Tokens (PATs) and other automation
- Downloading a patch file
- Use issue forks to make core version compatibility fixes
- GitLab Frequently Asked Questions
Git for Drupal project maintainers
Git information useful for people maintaining contributed modules, themes, distributions, and Drupal core
- The format of the Git commit message
- Committing changes
- Types of releases for full projects
- Release naming conventions
- Creating a project release
- Making a security release
- Making change logs and release notes
- Moving from a master to a version branch
- Reviewing and merging merge requests
- Troubleshooting git push errors
- Uncommon situations
Common development workflow
Feature branches, merging, deal with conflicts, database dumps and rolling back.
Git branching strategy for multiple developers
A well-structured git strategy helps prevent developers from overwriting each other's configuration.