GRV is an open-source tool to display git repository on Linux terminal. This tool provides screens to view refs, branches, and diffs in separate tabs. In order to filter refs and commits, you can use query language. GRV Tool is packed with so much of features and some of them are listed below.
Features of GRV
Before downloading GRV file & main GRV executable file, make sure that cmake is installed in your system. If not, you can run the following command for the same purpose.
root@linuxhelp:~# apt-get install cmake Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: cmake-data libjsoncpp1 Suggested packages: codeblocks eclipse ninja-build The following NEW packages will be installed: cmake cmake-data libjsoncpp1 0 upgraded, 3 newly installed, 0 to remove and 629 not upgraded. Need to get 3,817 kB of archives. After this operation, 20.5 MB of additional disk space will be used. Do you want to continue? [Y/n] y . . Setting up cmake-data (3.5.1-1ubuntu3) ... Setting up libjsoncpp1:amd64 (1.7.2-1) ... Setting up cmake (3.5.1-1ubuntu3) ... Processing triggers for libc-bin (2.23-0ubuntu3) ...
For installing cmake, you need to need to install Git as it is very much required for installing GRV tool.
root@linuxhelp:~# apt install git Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: git-man liberror-perl Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn The following NEW packages will be installed: git git-man liberror-perl 0 upgraded, 3 newly installed, 0 to remove and 629 not upgraded. Need to get 3,857 kB of archives. . . Processing triggers for man-db (2.7.5-1) ... Setting up liberror-perl (0.17-1.2) ... Setting up git-man (1:2.7.4-0ubuntu1.3) ... Setting up git (1:2.7.4-0ubuntu1.3) ...
And now, you can install GRV tool from git by making use of the following command.
root@linuxhelp:~# git clone https://github.com/rgburke/grv.git Cloning into 'grv'... remote: Counting objects: 1917, done. remote: Compressing objects: 100% (32/32), done. remote: Total 1917 (delta 23), reused 38 (delta 18), pack-reused 1860 Receiving objects: 100% (1917/1917), 4.71 MiB | 719.00 KiB/s, done. Resolving deltas: 100% (1310/1310), done. Checking connectivity... done.
After cloning is done, just move to the grv directory by making use of the following command.
root@linuxhelp:~# cd grv/
Download GRV executable file by using wget command in the following manner.
root@linuxhelp:~/grv# wget -O grv https://github.com/rgburke/grv/releases/download/v0.1.0/grv_v0.1.0_linux64 --2018-02-24 19:43:45-- https://github.com/rgburke/grv/releases/download/v0.1.0/grv_v0.1.0_linux64 Resolving github.com (github.com)... 220.127.116.11, 18.104.22.168, 22.214.171.124 Connecting to github.com (github.com)|126.96.36.199|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/102900463/7c9b9d38-05fa-11e8-91a3-d707f8e4fade?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180224%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180224T141400Z&X-Amz-Expires=300&X-Amz-Signature=364eca3ad48337f3f3df7739f0c5baae2d46f03dda6677ea496aaca6c2c764a5&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgrv_v0.1.0_linux64&response-content-type=application%2Foctet-stream [following] . . HTTP request sent, awaiting response... 200 OK Length: 16657792 (16M) [application/octet-stream] Saving to: ‘grv’ grv 100%[==========================================================>] 15.89M 169KB/s in 54s 2018-02-24 19:44:41 (303 KB/s) - ‘grv’ saved [16657792/16657792]
Once it is done, you need to give the permission to it for execution.
root@linuxhelp:~/grv# chmod +x ./grv
Now the GRV is granted for the execution.
The GRV tool looks like the one in the above image. With this, the method to install GRV tool comes to an end.
Thank you! for using Linux Help.
You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.