اگر از Oh-My-Zsh استفاده می کنید و پلاگین گیت رو براش نصب کردید، از این میانبرها برای گیت می توانید استفاده کنید.

این مقاله صرفا برای رفرنس هست

https://i.imgur.com/eyjEx1n.jpg https://i.imgur.com/V7HBsrV.jpg

gcf = git config --list
ga = git add
gaa = git add --all
gb = git branch
gbD = git branch -D
gba = git branch -a
gbd = git branch -d
gbnm = git branch --no-merged
ggsup = git branch --set-upstream-to=origin/$(git_current_branch)
gcb = git checkout -b
gcm = git checkout master
gcr = git checkout release
gcd = git checkout develop
gch = git checkout hotfix
gco = git checkout
gcount = git shortlog -sn
gcp = git cherry-pick
gcpa = git cherry-pick --abort
gcpc = git cherry-pick --continue
gcmsg = git commit -m
gcam = git commit -a -m
gcsm = git commit -s -m
gdct = git describe --tags `git rev-list --tags --max-count=1`
gd = git diff
gdcw = git diff --cached --word-diff
gdw = git diff --word-diff
gf = git fetch
gfa = git fetch --all --prune
gfo = git fetch origin
gl = git pull
gup = git pull --rebase
glum = git pull upstream master
ggpull = git pull origin "$(git_current_branch)"
glola = git log --graph --pretty = \''%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --all
gm = git merge
gma = git merge --abort
gmom = git merge origin/master
gmum = git merge upstream/master
gp = git push
gpd = git push --dry-run
gpf = git push --force-with-lease
'gpf!' = git push --force
gpu = git push upstream
ggpush = git push origin "$(git_current_branch)"
gpsup = git push --set-upstream origin $(git_current_branch)
gpristine = git reset --hard && git clean -dfx
grb = git rebase
grba = git rebase --abort
grbc = git rebase --continue
grbd = git rebase develop
grbi = git rebase -i
grbm = git rebase master
grbs = git rebase --skip
grh = git reset
grhh = git reset --hard
grm = git rm
gra = git remote add
grmv = git remote rename
grrm = git remote remove
grup = git remote update
gsh = git show
gcl = git clone --recurse-submodules
gsi = git submodule init
gsu = git submodule update
gss = git status -s
gst = git status
gsta = git stash push
gstaa = git stash apply
gstall = git stash --all
gstc = git stash clear
gstd = git stash drop
gstl = git stash list
gstp = git stash pop
gts = git tag -s
gwip = git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign -m "--wip-- [skip ci]"
gclean = git clean -id

nah = git reset --hard && git clean -df
wip = git add . && git commit -m '\''WIP'\

gfl = git flow
gflf = git flow feature
gflff = git flow feature finish
gflfp = git flow feature publish
gflfpll = git flow feature pull
gflfs = git flow feature start
gflh = git flow hotfix
gflhf = git flow hotfix finish
gflhp = git flow hotfix publish
gflhs = git flow hotfix start
gfli = git flow init
gflr = git flow release
gflrf = git flow release finish
gflrp = git flow release publish
gflrs = git flow release start