git-history

Quickly browse the history of a file from any git repository

Github星跟蹤圖

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.

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

主要指標

概覽
名稱與所有者pomber/git-history
主編程語言JavaScript
編程語言HTML (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2019-02-04 21:00:39
推送於2024-10-10 10:15:02
最后一次提交2024-10-10 12:14:54
發布數2
最新版本名稱v1.0.1 (發布於 )
第一版名稱v0.0.1 (發布於 2019-02-10 18:01:03)
用户参与
星數13.6k
關注者數136
派生數538
提交數266
已啟用問題?
問題數119
打開的問題數68
拉請求數53
打開的拉請求數25
關閉的拉請求數10
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?