Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

git-history

> 开发工具
Open source

Quickly browse the history of a file from any git repository

13.7K stars0 likes0 views
WebsiteGitHub

About

Quickly browse the history of a file from any git repository

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
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]

Thanks

Browser testing via

Credits

Based on these amazing projects:

  • Prism by Lea Verou
  • jsdiff by Kevin Decker
  • Night Owl by Sarah Drasner

License

MIT

Issues· 94 open

View all issuesOpen on GitHub
  • #196

    Broken on WSL2 with Ubuntu 22.04

    Updated Dec 8, 2025
  • #149

    Long lines (eg. Markdown documents) get truncated

    Updated Jul 25, 2025
  • #182

    Long line text is not wrapped

    Updated Jul 25, 2025
  • #221

    Feat: Improve visibility of changed lines with background highlighting

    Updated Jun 23, 2025
  • #219

    VSCode extension code background

    Updated Apr 7, 2025
  • #188

    Display Git Commit hash alongside the message!

    Updated Feb 3, 2025
  • #218

    How to view commit/PR related to change?

    Updated Feb 3, 2025
  • #216

    Text color is not clear in vs code light themes

    Updated Feb 3, 2025
  • #215

    Stuck in `Loading history...`

    Updated Nov 27, 2024
  • #202

    The extension loads indefinitely.

    Updated Oct 24, 2024

> Tags

JavaScriptanimationblameclicommit

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具