Skip to content
Quickly browse the history of a file from any git repository
JavaScript CSS HTML
Branch: master
Clone or download

Latest commit

Latest commit 651dd00 Mar 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml May 23, 2019
.storybook Add storybook Mar 1, 2019
cli Merge pull request #126 from Bhacaz/cli_port_option Apr 29, 2019
public Update index.html Mar 18, 2019
src Fix testimonies Mar 24, 2020
vscode-ext Bump v1.0.1 Mar 19, 2019
.gitignore Fix prettier Feb 14, 2019
.travis.yml Add travis config Feb 7, 2019
craco.config.js Move load to web worker Mar 1, 2019
license Update readme and landing page Feb 8, 2019
netlify.toml Add redirect Feb 4, 2019
package.json Bump v1.0.1 Mar 19, 2019
readme.md Add BrowserStack thanks Oct 15, 2019
yarn.lock Change readme order Mar 17, 2019

readme.md

Git History

Quickly browse the history of files in any git repo:

  1. Go to a file in GitHub (or GitLab, or Bitbucket)
  2. Replace github.com with github.githistory.xyz
  3. There's no step three

Try it

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.

Or you can use a bookmarklet.
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");
  }
})();

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]

Backers

Thank you to all our backers! 🙏 [Become a backer]

Contributors

This project exists thanks to all the people who contribute.

Thanks

BrowserStack for letting open source projects use their services for free. Now I can test, debug and fix Safari issues from my Chrome running on Linux!

Credits

Based on these amazing projects:

License

MIT

You can’t perform that action at this time.