Displays current Git branch on Tracy debug panel
Displays current Git branch on Tracy debug panel.
composer require --dev heavenproject/git-branch-panel
In order to use Git Branch Panel you must register it as extension in configuration file:
extensions: gitPanel: HeavenProject\GitBranchPanel\GitBranchPanelExtension
The extension will search through all the parent directories for the
.git directory and stops in the project root.
You can set custom path to a directory, in which the
.git directory resides, this way:
gitPanel: entryPath: %appDir%/my/custom/path
/app, the resulting path including the
.git directory will be