Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ozh/show-git-branch

YOURLS plugin: show Git branch in page footer
https://github.com/ozh/show-git-branch

yourls yourls-plugin

Last synced: 23 days ago
JSON representation

YOURLS plugin: show Git branch in page footer

Lists

README

        

# Plugin for YOURLS 1.6+: Show Git Branch [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/)

## What for

Show in page footers what Git branch you are currently on.

![sshot](https://raw.github.com/ozh/show-git-branch/sshots/footer.png)

## How to

* In `/user/plugins`, create a new folder named `show-git-branch`
* Drop these files in that directory
* Go to the Plugins administration page and activate the plugin
* Add `define( 'YOURLS_DEBUG', true );` to your `config.php`
* Have fun