1.0.4 • Published 3 months ago

lazygit v1.0.4

Weekly downloads
12
License
MIT
Repository
github
Last release
3 months ago

Basic git commands fast alias generator

Installation

> npm install lazygit

Usage

git commandlazygit command
git initgi
git statusgst
git branch -agbls
git logglog
git pullgpull
git pushgpush
git push --set-upstream origin DEVgpushsu DEV
git remote updategup
git stash savegss
git stash popgps
git reset --hard ^HEADguncomm
git add PAR or *gadd {PAR}
git reset HEAD -- PAR or *gunst {PAR}
git commit -m "mymsg_no_spaces"gcomm {"mymsg_no_spaces"}
git commit --amend -m "mymsg_no_spaces"gamend {"my_msg_no_spaces"}
git branch -b "brName"gbr "brName"
git branch -d "brName"gbrdel"brName"
git checkout "brName"gco "brName"
git checkout -- PARgrev PAR
git clone REFgclone REF
git remote add origin REFgaddrem REF
git tag -a TAGNAMEgtag TAGNAME
git push --tagsgtagsup
git push origin TAGNAMEgtagup TAGNAME
git diff > PATCHFILEgpatchc PATCHFILE
git apply --stat PATCHFILEgpatcha PATCHFILE
git merge mastergmm

If You have doubts about what the command execute just add a dash at the end:

$ gst-
lazygit
gst: Alias for getting the status 
gst  <--->  git status
What it does

For the moment it just works if You have a .bash_profile in your home.

It simply adds some aliases commands in a separate .bash_git file in Your HOME folder.

Uninstall

From the lazygit folder run:

$ node src/lazygit.js --uninstall

and then

$ cd .. && rm -rf lazygit
1.0.4

3 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

5 years ago

1.0.0

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago