Git Status

Component ID

2146295

Component name

Git Status

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2147

Component created

Component changed

Component body

When using git, Git Status module provides information and the current status of the git repository, via the Status report of the administration interface.

Instructions

Just install the module and go to the Status report page (/admin/reports/status).
See screenshots.

Requirements

The web server must be allowed to execute git commands. In most server configurations this will work by default. Unfortunately, this module is not compatible with Acquia Cloud and some other cloud solutions that don't provide a git binary, or that deploy the site without the .git directory.

This is usually not necessary, but depending on your environment settings you may need to specify the path to the git binary in your settings.php file:

$conf['git_status_git'] = '/usr/bin/git';

Features

The following information is shown:

  • Git current branch
  • Git last commit summary
  • Git last commit ID
  • Git tag
  • Git status
  • Git version