Panel for Tracy debug panel. Shows current branch and current revision hash to be able identify your deployed version on sight.
Inspired by https://gist.github.com/vvondra/3645108.
Install library via composer:
composer require jandrabek/tracy-gitversion-panel
nette:
debugger:
bar:
- JanDrabek\Tracy\GitVersionPanel
tracy:
bar:
- JanDrabek\Tracy\GitVersionPanel
Tracy\Debugger::getBar()->addPanel(new JanDrabek\Tracy\GitVersionPanel());