pomber / git-history
Quickly browse the history of a file from any git repository
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing pomber/git-history in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
PreviewGit History
Quickly browse the history of files in any git repo:
- Go to a file in GitHub (or GitLab, or Bitbucket)
- Replace
github.comwithgithub.githistory.xyz - There's no step three
If you like this project consider backing my open source work on Patreon!
And follow @pomber on twitter for updates.
Extensions
Browsers
You can also add an Open in Git History button to GitHub, GitLab and Bitbucket with the Chrome and Firefox extensions.
javascript: (function() {
var url = window.location.href;
var regEx = /^(https?\:\/\/)(www\.)?(github|gitlab|bitbucket)\.(com|org)\/(.*)$/i;
if (regEx.test(url)) {
url = url.replace(regEx, "$1$3.githistory.xyz/$5");
window.open(url, "_blank");
} else {
alert("Not a Git File URL");
}
})();
</details>
Local Repos
You can use Git History for local git repos with the CLI or with the VS Code extension.
Support Git History
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
<a href="https://github.com/selefra/selefra" target="_blank"><img src="https://github.com/selefra.png" style="border-radius: 50%" alt="selefra" title="Selefra" width="100"></a>
<a href="https://opencollective.com/git-history/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>
Backers
Thank you to all our backers! 🙏 [Become a backer]
<a href="https://opencollective.com/git-history#backers" target="_blank"><img src="https://opencollective.com/git-history/backers.svg?width=890"></a>
Thanks
<p>Browser testing via <a href="https://www.lambdatest.com/" target="_blank"><picture> <source media="(prefers-color-scheme: dark)" srcset="https://www.lambdatest.com/resources/images/logo-white.svg"> <img alt="LambdaTest" src="https://www.lambdatest.com/resources/images/logos/logo.svg" style="vertical-align: middle;margin-left:5px" width="147" height="26" > </picture></a></p>Credits
Based on these amazing projects:
- Prism by Lea Verou
- jsdiff by Kevin Decker
- Night Owl by Sarah Drasner
License
MIT