We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
点此前往电子书《Git 进阶指南》: https://yekai.net/gb
grv
git remote -v
gf
git fetch
gl
git pull
gup
git pull --rebase
gupa
git pull --rebase --autostash
glum
git pull upstream master
grb
git rebase
gm
git merge
gba
git branch -a
gsu
git submodule update
gst
git status
gaa
git add -all
gp
git push
ggp
git push origin "${*}"
ggsup
git branch --set-upstream-to=origin/$(git_current_branch)
gcmsg
git commit -m
gco
git checkout
gcb
git checkout -b
glol
git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
gwip
git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify -m "--wip--"
gunwip
git log -n 1 | grep -q -c "--wip--" && git reset HEAD~1
grhh
git reset HEAD --hard
gclean
git clean -df
gpristine
git reset --hard && git clean -dfx
gsta
git stash save
gstl
git stash list
gstp
git stash pop
gtv
git tag | sort -V
gdct
git describe --tags `git rev-list --tags --max-count=1`
gca!
git commit -v -a --amend
注:本书所有章节 git 命令行代码,会在行内注释中标注对应的 zsh alias 。
The text was updated successfully, but these errors were encountered:
好厉害!
Sorry, something went wrong.
新增 oh-my-zsh git plugin cheatsheet :https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git
新增 subtree 与 submodule 的对比
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
点此前往电子书《Git 进阶指南》: https://yekai.net/gb
目录
概念
常见问题
Git Alias Cheat Sheet
grv
git remote -v
gf
git fetch
gl
git pull
gup
git pull --rebase
gupa
git pull --rebase --autostash
glum
git pull upstream master
grb
git rebase
gm
git merge
gba
git branch -a
gsu
git submodule update
gst
git status
gaa
git add -all
gp
git push
ggp
git push origin "${*}"
ggsup
git branch --set-upstream-to=origin/$(git_current_branch)
gcmsg
git commit -m
gco
git checkout
gcb
git checkout -b
glol
git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
gwip
git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify -m "--wip--"
gunwip
git log -n 1 | grep -q -c "--wip--" && git reset HEAD~1
grhh
git reset HEAD --hard
gclean
git clean -df
gpristine
git reset --hard && git clean -dfx
gsta
git stash save
gstl
git stash list
gstp
git stash pop
gtv
git tag | sort -V
gdct
git describe --tags `git rev-list --tags --max-count=1`
gca!
git commit -v -a --amend
注:本书所有章节 git 命令行代码,会在行内注释中标注对应的 zsh alias 。
The text was updated successfully, but these errors were encountered: