rgburke / grv
- пятница, 2 февраля 2018 г. в 03:15:32
GRV is a terminal interface for viewing git repositories
GRV is a terminal based interface for viewing git repositories. It allows refs, commits and diffs to be viewed, searched and filtered. The behaviour and style can be customised through configuration. A query language can be used to filter refs and commits, see the Documentation section for more information.
More screenshots can be seen here
Documentation for GRV is available here
Static binaries are available for Linux (amd64 and arm32). For example, to use the amd64 binary run the following steps:
wget -O grv https://github.com/rgburke/grv/releases/download/v0.1.0/grv_v0.1.0_linux64
chmod +x ./grv
./grv -repoFilePath /path/to/repo
GRV depends on the following libraries:
Building GRV on OSX requires homebrew, and for readline to be installed using homebrew.
To install GRV run:
go get -d github.com/rgburke/grv/cmd/grv
cd $GOPATH/src/github.com/rgburke/grv
make install
grv is currently an alias used by oh-my-zsh. To install grv with an alternative
binary name that doesn't conflict with this alias, change the last
step to:
make install BINARY=NewBinaryName
where NewBinaryName is the alternative name to use instead.
Alternatively unalias grv can be added to the end of your .zshrc if you do
not use the grv alias.
The steps above will install GRV to $GOPATH/bin. A static libgit2 will be built and
included in GRV when built this way. Alternatively if libgit2 0.25 is
installed on your system GRV can be built normally:
go install ./cmd/grv