Shortcut tools for git command in fish shell.
It is inspired from SCM Breeze.
Translations: 日本語, 繁體中文, 简体中文, 한국어, Русский, Português, Türkçe, Español, Français, Català, Deutsch, فارسی.
Shortcut command | Original |
---|---|
gb | git branch |
gce | git clean |
gcef | git clean -fd |
gs | git status |
ga | git add |
gf | git fetch |
gfa | git fetch --all |
gfr | git fetch && git rebase |
gaa | git add --all . |
gap | git add -p |
gau | git add -u |
gps | git push |
gpsf | git push --force-with-lease |
gpl | git pull |
gr | git remote -v |
grs | git reset -- |
grsh | git reset --hard |
gt | git tag |
grm | git rm |
grb | git rebase |
grbi | git rebase --interactive |
gco | git checkout |
gl | git log |
gdnw | git diff -w -- |
gdf | git diff -- |
glg | git log --graph --max-count=5 |
gbl | git blame |
gcl | git clone |
gdw | git diff --word-diff |
gplr | git pull --rebase |
grsl | git reset HEAD~ |
gmff | git merge --ff |
gm | git merge |
gmff | git merge --no-ff |
gmnff | git merge --ff |
gash | git stash |
gasha | git stash apply |
gashl | git stash list |
Shortcut command | Original | Comment |
---|---|---|
gurl | git config --get remote.origin.url | |
gopen | open your github (macOS Only) | |
gashu | git stash --include-untracked | |
gbu | git branch --set-upstream-to=origin/ master | Argument is your branch name. ex. gbu master |
gtop | git rev-parse --show-toplevel | Show git top path. |
cdgtop | cd (git rev-parse --show-toplevel) | Chenge directory of git top path. |
With Fisher
fisher install shinriyo/breeze
fisher rm shinriyo/breeze
Just use short cut command of Shortcut list.
(ex)1
, 1-3
, 2 3
Enjoy!