Git Change Visualizer
Scan many Git repos, diff a branch against origin/master
, filter by author, and auto-generate a styled HTML report.
Multi-repo scan
Author-filtered diffs
HTML report output
Key Features
- Scans all Git repositories inside a parent folder.
- Compares your chosen branch to
origin/master
per repo. - Filters changed files by author (email or name).
- Generates a neat, styled HTML report with a results table.
- Gracefully handles missing remotes/branches and access issues.
Great for
- Cross-repo code reviews
- Compliance & audit snapshots
- Release management sign-offs
Requirements
- Bash (Linux/macOS)
- Git CLI installed and available in
PATH
Quick Start
1) Make the script executable
chmod +x branch_file_changes.sh
2) Run it with your parameters
./branch_file_changes.sh <PARENT_DIR> <BRANCH> <AUTHOR>
Arguments
<PARENT_DIR>
— folder that contains many Git repos (each has a.git
)<BRANCH>
— the branch to compare (e.g.,main
,develop
)<AUTHOR>
— author email or name to filter commits
Example
./branch_file_changes.sh ~/projects develop [email protected]
Tip: The script compares your branch to
origin/master
to gather author-specific file changes.Usage & Arguments
./branch_file_changes.sh <PARENT_DIR> <BRANCH> <AUTHOR>
# PARENT_DIR: path containing multiple Git repos
# BRANCH: branch name to analyze (main, develop, feature-xyz)
# AUTHOR: author email or name to filter changes
Output: HTML Report
After running, you’ll get branch_file_changes_report.html
in the current directory. Open it in a browser to view results. Columns include:
- Repo name — bibhutimail/git-change-visualizer
- Branch Name — main
- Changed Files — README.md
Heads-up: The script prints debug/skip messages to the terminal while scanning. That’s expected and useful for transparency.
Troubleshooting
- Empty report? Verify the author & branch actually exist and contain changes in at least one repo.
- Remote/branch errors? Ensure you have access to remotes; fetch branches as needed.
- Permission denied? Confirm the script is executable:
chmod +x branch_file_changes.sh
.
Credits & License
Project: bibhutimail/git-change-visualizer — “Branch File Changes Report”. Licensed under MIT.
