Setting up Git for Drupal

In order to use Git with the Drupal project, you will need to complete the following steps:

  1. Install Git -- see the Git Downloads page, and documentation on installing Git
  2. Optionally, install a Git GUI tool and/or the drupalorg-cli command-line tool.
  3. Configure Git and/or the Git GUI tool you choose
  4. If you will commit to a project hosted on drupal.org (including forks and merge requests) -- see Related Content section:
    • Obtain Git access by agreeing to the Drupal Git user agreement
    • Authenticate to Git with SSH keys

Tags