Quickly browse the history of a file from any git repository
Go to file
2024-10-10 12:14:54 +02:00
.github Update FUNDING.yml 2022-09-01 10:39:51 +02:00
.storybook Add storybook 2019-03-01 19:41:19 -03:00
cli Merge pull request #126 from Bhacaz/cli_port_option 2019-04-29 09:53:17 +02:00
public Update index.html 2019-03-18 15:44:32 -03:00
src Fix broken link and add rel attribute to anchor tag 2024-10-10 12:14:54 +02:00
vscode-ext Add sponsor 2023-03-23 11:26:02 +00:00
.gitignore Fix prettier 2019-02-14 14:21:23 -03:00
.travis.yml Add travis config 2019-02-07 18:02:46 -03:00
craco.config.js Move load to web worker 2019-02-28 22:48:26 -03:00
license Update readme and landing page 2019-02-08 02:48:57 -03:00
netlify.toml Add redirect 2019-02-04 20:48:34 -03:00
package.json Use node 16 2024-10-10 12:12:21 +02:00
readme.md Add sponsor 2024-10-10 12:01:06 +02:00
yarn.lock Add sponsor 2024-10-10 12:01:06 +02:00

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]

selefra

Backers

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

Thanks

Browser testing via LambdaTest

Credits

Based on these amazing projects:

License

MIT