git-history/readme.md

64 lines
2.1 KiB
Markdown
Raw Normal View History

2019-02-06 02:45:39 +03:00
<div align="center">
2019-02-08 06:01:26 +03:00
<a href="https://github.githistory.xyz/babel/babel/blob/master/packages/babel-core/test/browserify.js">
2019-02-08 08:48:57 +03:00
<img alt="demo" src="https://user-images.githubusercontent.com/1911623/52460615-f3899d80-2b49-11e9-8c21-06af4097a527.gif" />
2019-02-06 02:45:39 +03:00
</a>
</div>
2019-02-05 00:01:14 +03:00
2019-02-08 08:48:57 +03:00
# [Git History](https://githistory.xyz)
2019-02-12 23:16:23 +03:00
Quickly browse the history of any GitHub ([GitLab and Bitbucket
coming soon](https://github.com/pomber/git-history/issues/14)) file:
2019-02-08 08:48:57 +03:00
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)
2019-02-12 20:02:58 +03:00
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.
2019-02-08 08:48:57 +03:00
2019-02-06 02:45:39 +03:00
> Follow [@pomber](https://twitter.com/pomber) for updates
2019-02-08 08:48:57 +03:00
2019-02-11 21:40:28 +03:00
## [CLI](https://github.com/pomber/git-history/tree/master/cli)
2019-02-11 22:20:09 +03:00
2019-02-11 21:40:28 +03:00
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
```
2019-02-12 23:16:23 +03:00
## Sponsors
No sponsors yet. [Become a Sponsor](https://opencollective.com/git-history) to help us ship more features!
2019-02-12 23:33:27 +03:00
<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>
2019-02-12 22:23:06 +03:00
## 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)
2019-02-08 08:48:57 +03:00
## 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.