Skip to content

Git scripts: checks commit sizes for entire repo and specific hash #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

mickeygousset
Copy link
Contributor

@mickeygousset mickeygousset commented Apr 7, 2025

This pull request introduces two new bash scripts to analyze Git commit sizes. The first script analyzes the size of a specific commit, while the second script analyzes all commits in a repository and generates detailed logs and reports.

  • git-commit-analyzer.sh: This script takes a commit hash as an argument and analyzes the size of that specific commit.
  • git-repo-commit-analyzer.sh: This script analyzes all commits in a repository and generates detailed logs and reports, including:
    • A CSV list of all commits, their sizes, and number of files in the commit
    • A report of all commits over a certain size, including files, files sizes, and total commit size
  • Updated README.md

Copy link
Owner

@joshjohanning joshjohanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Great additions here 🚀

@joshjohanning joshjohanning merged commit b22658c into joshjohanning:main Apr 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants