Loading projects...
Loading projects...
# Git Commit Metadata Rewriter ## Overview The Git Commit Metadata Rewriter is a specialized utility engineered in Go to retroactively modify Git commit metadata, including author names, email addresses, and timestamps, for cloned GitHub repositories. The system integrates with an AI model to generate realistic, non-uniform commit distributions, subsequently rewriting the repository's history to reflect the updated timelines. ## Live Resources - **Video Demonstration**: [YouTube](https://www.youtube.com/watch?v=jHUGKcj5OwE) - **Commit Testing Sample**: [Test Repository](https://github.com/ShardenduMishra22/Dhvani-Commit-Tester) ## Core Capabilities - **Automated Repository Management**: Seamlessly clones public GitHub repositories for localized processing. - **AI-Driven Timestamp Generation**: Leverages the OpenRouter API to programmatically generate realistic commit date distributions. - **History Modification**: Utilizes Git filter-branch operations to systematically rewrite commit history with the newly generated metadata. - **Automated Synchronization**: Executes force-pushes to synchronize the rewritten history with the remote repository origin. - **State Cleanup**: Automatically purges temporary files and local repository clones upon process completion to maintain system hygiene. ## Operational Workflow 1. **Initialization**: Clones the specified target GitHub repository to the local environment. 2. **Extraction**: Exports the existing commit log to `edited_commits.txt`. 3. **Generation**: Interfaces with the AI model to establish new, realistic commit dates within a defined timeframe. 4. **Data Mapping**: Compiles the updated commit metadata into `updated_commits.txt`. 5. **Execution**: Rewrites the Git history applying the new metadata parameters. 6. **Synchronization**: Force-pushes the modified commit history to the remote source. 7. **Cleanup**: Removes all local artifacts and cloned data. ## Installation and Configuration
A Go software to retroactively edit Git commit metadata (author name, email, date) for a GitHub repository. It uses an AI model to generate realistic commit dates and rewrites the repository history accordingly.