🔌 Displays git branch of theme in the admin toolbar
PHP CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
fonts
languages
.gitattributes
.gitignore
LICENSE
README.md
composer.json
wp-git-branch.php

README.md

WP Git Branch

A WordPress plugin made for theme development that shows the active themes git branch and commit hash in the toolbar.

Admin Bar

No Git Found?

This plugin currently requires .git to be located directly within the theme root.

To Do

  • Only load for admins
  • Allow plugins & themes to be declared via JSON file.
  • Git status indicator.
  • Display available local branches and allow branch switching.