mirror of
https://github.com/pomber/git-history.git
synced 2024-09-11 14:35:57 +03:00
64 lines
2.1 KiB
Markdown
Executable File
64 lines
2.1 KiB
Markdown
Executable File
<div align="center">
|
|
<a href="https://github.githistory.xyz/babel/babel/blob/master/packages/babel-core/test/browserify.js">
|
|
<img alt="demo" src="https://user-images.githubusercontent.com/1911623/52460615-f3899d80-2b49-11e9-8c21-06af4097a527.gif" />
|
|
</a>
|
|
</div>
|
|
|
|
# [Git History](https://githistory.xyz)
|
|
|
|
Quickly browse the history of any GitHub ([GitLab and Bitbucket
|
|
coming soon](https://github.com/pomber/git-history/issues/14)) file:
|
|
|
|
1. Replace `github.com` with `github.githistory.xyz` in any file url
|
|
2. There's no step two
|
|
|
|
[Try it](https://github.githistory.xyz/babel/babel/blob/master/packages/babel-core/test/browserify.js)
|
|
|
|
You can also add an `Open in Git History` button to GitHub with the [Chrome](https://chrome.google.com/webstore/detail/github-history-browser-ex/laghnmifffncfonaoffcndocllegejnf) and [Firefox](https://addons.mozilla.org/firefox/addon/github-history/) extensions.
|
|
|
|
> Follow [@pomber](https://twitter.com/pomber) for updates
|
|
|
|
## [CLI](https://github.com/pomber/git-history/tree/master/cli)
|
|
|
|
There's also a command line version of Git History that works with any local git repo:
|
|
|
|
> You need [node](https://nodejs.org/en/) to run this
|
|
|
|
```bash
|
|
$ npx git-file-history path/to/file.ext
|
|
```
|
|
|
|
or
|
|
|
|
```bash
|
|
$ npm install -g git-file-history
|
|
$ git-file-history path/to/file.ext
|
|
```
|
|
|
|
## Sponsors
|
|
|
|
No sponsors yet. [Become a Sponsor](https://opencollective.com/git-history) to help us ship more features!
|
|
|
|
<div align="center">
|
|
<a href="https://opencollective.com/git-history/donate">
|
|
<img
|
|
src="https://opencollective.com/git-history/donate/button.png?color=blue"
|
|
width="300"
|
|
/>
|
|
</a>
|
|
</div>
|
|
|
|
## Credits
|
|
|
|
Based on these amazing projects:
|
|
|
|
- [Prism](https://github.com/PrismJS/prism) by [Lea Verou](https://twitter.com/leaverou)
|
|
- [jsdiff](https://github.com/kpdecker/jsdiff) by [Kevin Decker](https://twitter.com/kpdecker)
|
|
- [Night Owl](https://github.com/sdras/night-owl-vscode-theme) by [Sarah Drasner](https://twitter.com/sarah_edo)
|
|
|
|
## License
|
|
|
|
MIT
|
|
|
|
This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with GitHub, or any of its subsidiaries or its affiliates.
|