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

这篇具有很好参考价值的文章主要介绍了oh-my-zsh git插件的别名对照表。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

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

git插件是 oh-my-zsh 提供了一些 git 命令的别名,提高了我们在终端使用 git 的效率,下面是一些别名和命令的对照表:文章来源地址https://www.toymoban.com/news/detail-764290.html

Alias Command
g git
ga git add
gaa git add --all
gapa git add --patch
gb git branch
gba git branch -a
gbl git blame -b -w
gbnm git branch --no-merged
gbr git branch --remote
gbs git bisect
gbsb git bisect bad
gbsg git bisect good
gbsr git bisect reset
gbss git bisect start
gc git commit -v
gc! git commit -v --amend
gca git commit -v -a
gcam git commit -a -m
gca! git commit -v -a --amend
gcan! git commit -v -a -s --no-edit --amend
gcb git checkout -b
gcf git config --list
gcl git clone --recursive
gclean git clean -df
gcm git checkout master
gcd git checkout develop
gcmsg git commit -m
gco git checkout
gcount git shortlog -sn
gcp git cherry-pick
gcpa git cherry-pick --abort
gcpc git cherry-pick --continue
gcs git commit -S
gd git diff
gdca git diff --cached
gdt git diff-tree --no-commit-id --name-only -r
gdw git diff --word-diff
gf git fetch
gfa git fetch --all --prune
gfo git fetch origin
gg git gui citool
gga git gui citool --amend
ghh git help
ggpull ggl
ggpur ggu
ggpush ggp
ggsup git branch --set-upstream-to = origin/$(current_branch)
gpsup git push --set-upstream origin $(current_branch)
gignore git update-index --assume-unchanged
git-svn-dcommit-push git svn dcommit && git push github master:svntrunk
gk \gitk --all --branches
gke \gitk --all $(git log -g --pretty = format:%h)
gl git pull
glg git log --stat --color
glgg git log --graph --color
glgga git log --graph --decorate --all
glgm git log --graph --max-count = 10
glgp git log --stat --color -p
glo git log --oneline --decorate --color
glog git log --oneline --decorate --color --graph
glol git log --graph --pretty = format:‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset’ --abbrev-commit
glola git 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
gm git merge
gmom git merge origin/master
gmt git mergetool --no-prompt
gmtvim git mergetool --no-prompt --tool = vimdiff
gmum git merge upstream/master
gp git push
gpd git push --dry-run
gpoat git push origin --all && git push origin --tags
gpristine git reset --hard && git clean -dfx
gpu git push upstream
gpv git push -v
gr git remote
gra git remote add
grb git rebase
grba git rebase --abort
grbc git rebase --continue
grbi git rebase -i
grbm git rebase master
grbs git rebase --skip
grh git reset HEAD
grhh git reset HEAD --hard
grmv git remote rename
grrm git remote remove
grset git remote set-url
gru git reset –
grup git remote update
grv git remote -v
gsb git status -sb
gsd git svn dcommit
gsi git submodule init
gsps git show --pretty = short --show-signature
gsr git svn rebase
gss git status -s
gst git status
gsta git stash save
gstaa git stash apply
gstd git stash drop
gstl git stash list
gstp git stash pop
gstc git stash clear
gsts git stash show --text
gsu git submodule update
gts git tag -s
gunignore git update-index --no-assume-unchanged
gup git pull --rebase
gupv git pull --rebase -v
glum git pull upstream master
gvt git verify-tag
gwch git whatchanged -p --abbrev-commit --pretty = medium
gwip git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit -m “–wip–”

到了这里,关于oh-my-zsh git插件的别名对照表的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 全局安装oh-my-zsh保姆教程

    1 安装git 2 安装zsh 3 更改root的默认shell 4 安装oh-my-zsh 5 修改配置 上边三行注释分别是修改ZSH环境变量指向的位置和设置快速编辑的别名命令,之后可以通过zshconfig命令直接编辑.zshrc也可以通过ohmyzsh快速跳转到.ohmyzsh文件夹 保存后先执行\\\'source ./.zshrc\\\'看看效果 6 修改全局配置使

    2024年02月09日
    浏览(55)
  • Mac M1配置iTerm2+oh-my-zsh配色&补全&高亮命令

    2021年10月下旬买了mac之后,就一直想配置成自己要的效果,但最开始买回来之后,配置iTerm2,但相关包没有下载成功,就导致没有配置成自己想要的效果,所以上周不忙的时候又重新配置了一下,终于配置成功了,所以特此记录。安装的前提,最好已经安装了git,如果木有,

    2024年02月01日
    浏览(49)
  • RGB颜色对照表

    常用颜色: 白色:rgb(255,255,255) 黑色:rgb(0,0,0) 红色:rgb(255,0,0) 绿色:rgb(0,255,0) 蓝色:rgb(0,0,255) 青色:rgb(0,255,255) 紫色:rgb(255,0,255) 颜色大全 RGB颜色对照表 对照表  

    2024年02月13日
    浏览(30)
  • 键盘键码keyCode对照表

    字母和数字键的键码值(KeyCode) 按键 键码 按键 键码 A 65 J 74 B 66 K 75 C 67 L 76 D 68 M 77 E 69 N 78 F 70 O 79 G 71 P 80 H 72 Q 81 I 73 R 82 字母和数字键的键码值(KeyCode) 按键 键码 按键 键码 S 83 1 49 T 84 2 50 U 85 3 51 V 86 4 52 W 87 5 53 X 88 6 54 Y 89 7 55 Z 90 8 56 0 48 9 57 数字键盘上的键的键码值(KeyCode) 按

    2024年02月11日
    浏览(36)
  • GDB 到 LLDB 命令对照表

    Below is a table of GDB commands with their LLDB counterparts. The built in GDB-compatibility aliases in LLDB are also listed. The full lldb command names are often long, but any unique short form can be used. Instead of “ breakpoint set ”, “ br se ” is also acceptable. Execution Commands Breakpoint Commands Watchpoint Commands Examining Variables Ev

    2024年02月12日
    浏览(36)
  • Android 透明度颜色值对照表

      注:00是完全透明,FF就是完全不透明         我们的UI小姐姐就喜欢给 「不透明度」 ,这个需要自己判断一下。 二、透明度介绍         Android中的颜色值通常遵循RGB/ARGB标准,使用时通常以“#”字符开头,以16进制表示。         Android中的颜色值一般格式是:#AAR

    2024年04月14日
    浏览(63)
  • ASCII码与字符对照表(附转换代码)

    目录 ASCII基本字符 ASCII控制字符 ASCII可显示字符 ASCII扩展字符 转换代码 ASCII 码使用指定的 7 位或 8 位二进制数组合来表示 128 或 256 种可能的字符。标准 ASCII 码也叫基础ASCII码,使用 7 位二进制数来表示所有的大写和小写字母、数字 0 到 9、标点符号, 以及在美式英语中使用

    2024年02月02日
    浏览(35)
  • Http Content-type 对照表

    文件扩展名 Content-Type(Mime-Type) 文件扩展名 Content-Type(Mime-Type) .*( 二进制流,不知道下载文件类型) application/octet-stream .tif image/tiff .001 application/x-001 .301 application/x-301 .323 text/h323 .906 application/x-906 .907 drawing/907 .a11 application/x-a11 .acp audio/x-mei-aac .ai application/postscript .aif audio/aiff

    2024年02月09日
    浏览(36)
  • 各类主流设备屏幕尺寸查询,屏幕尺寸对照表

    Acer Chromebook Chrome 11.6 29.0 1366 768 1366 135 100% MDPI 16 : 9 0 Google Chromebook Pixel Chrome 12.9 33.0 2560 1700 1280 239 200% XHDPI 3 : 2 0 Samsung Chromebook Chrome 11.6 29.0 1366 768 1366 135 100% MDPI 16 : 9 0 Apple Cinema Display 30\\\" OS X 30.0 76.0 2560 1600 2560 100 100% MDPI 8 : 5 0 Apple Thunderbolt Display 27\\\" OS X 27.0 69.0 2560 1440 2560 1

    2024年02月05日
    浏览(102)
  • Node.js与相关依赖的版本对照表

    目录 1. node版本与Npm版本对照表 2. node版本与node-sass版本对照表 3. node-sass与sass-loader版本对照表 以往的版本 | Node.js 下面显示最新的对应内容,如果需要查找历史版本,可以进入上面的页面查询 Version LTS Date V8 npm NODE_MODULE_VERSION[1] Node.js 19.5.0 2023-01-24 10.8.168.25 9.3.1 111 下载 更新

    2023年04月23日
    浏览(68)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包