Skip to content

Commit d54170c

Browse files
authored
Update readme.md
1 parent 00ca8d2 commit d54170c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@ You can also add an `Open in Git History` button to GitHub with the [Chrome](htt
1717

1818
> Follow [@pomber](https://twitter.com/pomber) for updates
1919
20+
## [CLI](https://github.com/pomber/git-history/tree/master/cli)
21+
There's also a command line version of Git History that works with any local git repo:
22+
23+
> You need [node](https://nodejs.org/en/) to run this
24+
25+
```bash
26+
$ npx git-file-history path/to/file.ext
27+
```
28+
29+
or
30+
31+
```bash
32+
$ npm install -g git-file-history
33+
$ git-file-history path/to/file.ext
34+
```
35+
2036
## License
2137

2238
MIT

0 commit comments

Comments
 (0)