Git information
When you're using Git to manage your code, and the git history is available from the server you're running your application on, Flare will automatically collect:
- The commit hash
- The commit message
- The latest tag
- The git repository remote URL
- Whether the repository is dirty (uncommitted changes)
It is possible to disable this behaviour by ignoring the GitInfo
collect in config.php
:
use Spatie\FlareClient\Enums\CollectType;
'collects' => FlareConfig::defaultCollects(
ignore: [CollectType::GitInfo],
),