oh-my-zsh git插件的别名对照表

oh-my-zsh git插件的别名对照表

git插件是 oh-my-zsh 提供了一些 git 命令的别名,提高了我们在终端使用 git 的效率,下面是一些别名和命令的对照表:

AliasCommand
ggit
gagit add
gaagit add --all
gapagit add --patch
gbgit branch
gbagit branch -a
gblgit blame -b -w
gbnmgit branch --no-merged
gbrgit branch --remote
gbsgit bisect
gbsbgit bisect bad
gbsggit bisect good
gbsrgit bisect reset
gbssgit bisect start
gcgit commit -v
gc!git commit -v --amend
gcagit commit -v -a
gcamgit commit -a -m
gca!git commit -v -a --amend
gcan!git commit -v -a -s --no-edit --amend
gcbgit checkout -b
gcfgit config --list
gclgit clone --recursive
gcleangit clean -df
gcmgit checkout master
gcdgit checkout develop
gcmsggit commit -m
gcogit checkout
gcountgit shortlog -sn
gcpgit cherry-pick
gcpagit cherry-pick --abort
gcpcgit cherry-pick --continue
gcsgit commit -S
gdgit diff
gdcagit diff --cached
gdtgit diff-tree --no-commit-id --name-only -r
gdwgit diff --word-diff
gfgit fetch
gfagit fetch --all --prune
gfogit fetch origin
gggit gui citool
ggagit gui citool --amend
ghhgit help
ggpullggl
ggpurggu
ggpushggp
ggsupgit branch --set-upstream-to = origin/$(current_branch)
gpsupgit push --set-upstream origin $(current_branch)
gignoregit update-index --assume-unchanged
git-svn-dcommit-pushgit svn dcommit && git push github master:svntrunk
gk\gitk --all --branches
gke\gitk --all $(git log -g --pretty = format:%h)
glgit pull
glggit log --stat --color
glgggit log --graph --color
glggagit log --graph --decorate --all
glgmgit log --graph --max-count = 10
glgpgit log --stat --color -p
glogit log --oneline --decorate --color
gloggit log --oneline --decorate --color --graph
glolgit log --graph --pretty = format:‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset’ --abbrev-commit
glolagit log --graph --pretty = format:‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset’ --abbrev-commit --all
glp_git_log_prettily
gmgit merge
gmomgit merge origin/master
gmtgit mergetool --no-prompt
gmtvimgit mergetool --no-prompt --tool = vimdiff
gmumgit merge upstream/master
gpgit push
gpdgit push --dry-run
gpoatgit push origin --all && git push origin --tags
gpristinegit reset --hard && git clean -dfx
gpugit push upstream
gpvgit push -v
grgit remote
gragit remote add
grbgit rebase
grbagit rebase --abort
grbcgit rebase --continue
grbigit rebase -i
grbmgit rebase master
grbsgit rebase --skip
grhgit reset HEAD
grhhgit reset HEAD --hard
grmvgit remote rename
grrmgit remote remove
grsetgit remote set-url
grugit reset –
grupgit remote update
grvgit remote -v
gsbgit status -sb
gsdgit svn dcommit
gsigit submodule init
gspsgit show --pretty = short --show-signature
gsrgit svn rebase
gssgit status -s
gstgit status
gstagit stash save
gstaagit stash apply
gstdgit stash drop
gstlgit stash list
gstpgit stash pop
gstcgit stash clear
gstsgit stash show --text
gsugit submodule update
gtsgit tag -s
gunignoregit update-index --no-assume-unchanged
gupgit pull --rebase
gupvgit pull --rebase -v
glumgit pull upstream master
gvtgit verify-tag
gwchgit whatchanged -p --abbrev-commit --pretty = medium
gwipgit add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit -m “–wip–”
oh-my-zsh 是一个开源的、社区驱动的 zsh 配置管理框架,它提供了一系列的插件、主题和自定义选项,使得用户可以轻松地定制和管理自己的 zsh 终端环境。它旨在提供一个更强大、更易用的终端工具。 而 oh-my-zsh-gitoh-my-zshGitHub 上的一个 fork 版本,它基于原版的 oh-my-zsh,对其进行了一些修改和扩展。oh-my-zsh-git 主要的目的是为了扩展和增强原版 oh-my-zsh 的功能,并从社区中收集和整合更多的插件和主题。 具体来说,oh-my-zsh-gitoh-my-zsh 的区别主要体现在以下几个方面: 1. 功能扩展:oh-my-zsh-git 在原版 oh-my-zsh 的基础上增加了一些功能和工具,使得终端使用起来更加方便和高效。 2. 插件和主题:oh-my-zsh-git 提供了更多的插件和主题选项,且会持续更新和增加。用户可以根据自己的需求选择和使用不同的插件和主题。 3. 扩展性:oh-my-zsh-git 更加注重可扩展性,用户可以自定义添加新的插件和主题,或者根据自己的需要修改现有的插件和主题。 4. 社区支持:oh-my-zsh-git 的社区活跃度较高,用户能够得到更多的帮助和支持,同时也能够贡献自己的代码和改进。 综上所述,oh-my-zsh-git 是在 oh-my-zsh 基础上进行的一些改进和扩展,提供了更多的插件和主题选项,同时注重用户的自定义和扩展能力。用户可以根据自己的需求选择采用哪个版本。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值