Git Analytics Exclusions
Last updated
Was this helpful?
Last updated
Was this helpful?
Gitwiser allows you to fine-tune your analytics by excluding unnecessary files, directories, or specific commits from the analysis. This ensures metrics are focused on meaningful contributions. Exclusions can be applied at a global level, repository level, or commit level.
**/*.xml
Excludes all xml files from Gitwiser analysis.
**/data.json
Excludes all data.json files from Gitwiser analysis.
**/*sample*/**
Excludes directories that include "sample" in their folder name.
Admins can define exclusion patterns that apply to all repositories across the platform.
Navigate to: Administration → Admin Settings → Gitwiser & DORA Metrics → Git Analytics
In the Exclusion List, add glob patterns such as: **/.aac → excludes all .aac files **/.apng → excludes all .apng files
Toggle Reset Existing Analyses if you want Gitwiser to reanalyze existing data based on new patterns.
📌 These exclusions are global and affect all repos.
You can configure exclusion patterns for a specific repository.
If you're creating a new analysis:
During setup, you'll see the Advanced Settings step
Add your file exclusion patterns there (e.g., **/*.xml, **/*sample*/**)
If the analysis already exists:
Go to: Gitwiser & DORA Metrics → select the repository → Git Analytics
Click the three dots (⋯) in the top-right corner of the Git Analytics page
Select Update Analysis
You'll be able to edit exclusion patterns here
Specific commits can also be manually excluded from analytics.
Navigate to: Gitwiser & DORA Metrics → select the repository → Git Analytics
Scroll to the Contributions During the Selected Period section
Click Exclude next to the commit(s) you want to exclude
Excluded commits appear in the Excluded Commits section at the bottom
🧠 Useful for filtering out noise like formatting commits, reverts, or merge commits.
Using Git Analytics Exclusions effectively helps ensure your metrics reflect meaningful contributions by filtering out noise like binary files, test data, or irrelevant commits. Whether you're applying exclusions globally, per repository, or at the commit level, these tools give you full control over the scope of your analysis in Gitwiser. For best results, review and refine your exclusion patterns regularly based on your team's workflow.