GRV: Chishandiso chekutarisa Git repositori kubva kune iyo terminal

grv

Kana tichishanda pane yeGit repository, zvinogona kuitika kuti isu tinoda kuona chimiro cheiyo repository. Mhinduro dzakasiyana dzinowanikwa kwatiri kubva pakushandisa mimwe mirairo yegit kushandisa git desktop mutengi.

Asi Ino nguva isu tichataura nezve GRV inova yakavhurika sosi yekuraira turu chishandiso yakavakirwa paGo iyo inoratidza ruzivo kubva kuGit repository.

GRV inopa mushandisi nzira yekutarisa uye kutsvaga zvinongedzo, kuita, maforogo uye mutsauko nekushandisa makiyi anosungwa akafanana neVi / Vim . Hunhu hwayo uye maitiro zvinogona kugadziriswa nyore nyore kuburikidza neyekugadziriswa faira.

Uye zvakare, kune akati wandei madingindira uye anogona kuchinjwa, pamwe nemavara.

GRV Zvimiro:

  • Inopa mutauro wemubvunzo wekusefa Refs uye commits.
  • Inotsigira Vi / Vim-senge kiyi inosungwa nekukasira, uye makiyi anosungwa anogona kuve akagadzirwa
  • Tora shanduko kunzvimbo yekuchengetedza nekutarisa iyo faira sisitimu ichibvumidza iyo mushandisi interface kuti iite otomatiki
  • Iyo yakarongeka sematepi uye mapoka; inokutendera iwe kuti ugadzire tsika tabo uye kutsemuka uchishandisa chero musanganiswa wemaonero.
  • Tinotsigira customizable madingindira.
  • Inopa mbeva rutsigiro.

Zvinotarisirwa:

  • Enda vhezheni 1.5 kana gare gare inofanirwa kuiswa pane yako system.
  • libncursesw, libreadline, uye libcurl.
  • cmake (kuvaka libgit2).

/ Maitiro ekuisa GRV paLinux?

Kana iwe uchida kuziva zvishoma nezve ichi chishandiso kana iwe uchingoda kuiisa pane yako system, unogona kuzviita nekutevera nhanho dzatinogovana pazasi.

Kuti uite iyo GRV yekumisikidza, tanga waisa zvinodikanwa zvinoenderana uchishandisa imwe yeanotevera mirairo maererano neako Linux kugovera.

Kana ivo vari vashandisi veDebian, Ubuntu, Linux Mint uye zvigadzirwa zveizvi, isu tinofanirwa kunyora zvinotevera mune chinouraya:

sudo apt install libncurses5-dev libncursesw5-dev libreadline-dev cmake

Kune avo vari vashandisi veRHEL / CentOS, vanofanirwa kunyora:

sudo yum install ncurses-devel readline-devel cmake  

Muchiitiko chevashandisi veFedora

sudo dnf install ncurses-devel readline-devel cmake

Wobva waisa GRV, inotevera mirairo ichaisa GRV mu $ GOPATH / bin uye static libgit2 ichavakwa uye inosanganisirwa muGRV kana ichivakwa nenzira iyi.

go get -d github.com/rgburke/grv/cmd/grv

cd $GOPATH/src/github.com/rgburke/grv

make install

Yenyaya yakakosha yeavo vanoshandisa Arch Linux, Manjaro, Antergos kana chero sisitimu yakatorwa kubva kuArch Linux.

Ivo vanozogona kuita yakananga kuisirwa. Ivo chete vanofanirwa kuve neAUR repository yakagadziridzwa uye kuve neAUR wizard pane yavo system.

Kana iwe usina imwe yakaiswa, unogona kutarisa chinyorwa chinotevera kwatinokurudzira vamwe.

Iye zvino mune terminal tinofanirwa kunyora unotevera kuraira:

yay -S grv-git

Uye wapedza nazvo, unogona kutanga kushandisa chishandiso ichi.

/ Maitiro ekuisa GRV paLinux uchishandisa Snap package?

Kune avo vanosarudza kuwana chishandiso nenzira iri nyore, vanogona kuzviita nerubatsiro rwePapapakeji mapakeji. Iwe chete unofanirwa kuve nerutsigiro kuti ugone kuisa zvinoshandiswa zverudzi urwu pane yako system.

Iye zvino chete mune imwe terminal iwe unofanirwa kunyora:

sudo snap install grv

Mushure mekubudirira kuisirwa GRV, unogona kutarisa mareferenzi, zvibvumirano uye misiyano kubva pane yako repository pane yako system uchishandisa syntax pazasi.

GOBIN/grv -repoFilePath /path/to/repository/

Mumuenzaniso uyu, isu tichaona zvibvumirano, matavi, uye misiyano kubva kune repodhi faira mu ~ / bin / shellscript:

GOBIN/grv -repoFilePath ~/bin/shellscripts

Nzira yekupedzisira yatinofanira kuisa chishandiso pane yedu sisitimu ndeye kurodha pasi payo bhanari package.

Kune izvi isu tinofanirwa kuvhura terminal mune yedu system uye tinyore inotevera mirairo mairi:

wget -O grv https://github.com/rgburke/grv/releases/download/v0.3.0/grv_v0.3.0_linux64

Waita kurodha pasi izvozvi ivo vanofanirwa kukupa iwe mvumo yekuuraya ne:

chmod +x ./grv

Uye ivo vanogona kumhanya iyo yekushandisa binary ne:

./grv -repoFilePath /path/to/repo

Shandisa

Iwe unogona kuwana zvimwe zvekushandisa sarudzo nekutaipa wekubatsira rairo mune terminal, iwo murairo ndeuyu:

GOBIN/grv -h

Nenzira imwecheteyo, unogona kutarisa chinongedzo chinotevera, uko kushandiswa kwechishandiso ichi kunotsanangurwa zvishoma zvishoma.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako