欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

Git命令简写

最编程 2024-06-10 11:23:45
...
g git
gst git status
gd git diff
gdc git diff --cached
gdv git diff -w "$@" | view -
gl git pull
gup git pull --rebase
gp git push
gc git commit -v
gc! git comit -v --amend
gca git commit -v -a
gca! git commit -v -a --amend
gcmsg git commit -m
gco git checkout
gcm git checkout master
gr git remote
grv git remote -v
grmv git remote rename
grrm git remote remove
grset git remote set-url
grup git remote update
grbi git rebase -i
grbc git rebase --continue
brba git rebase --abort
gb git branch
gba git branch -a
gcount git shortlog -sn
gcl git config --list
gcp git cherry-pick
glg git log --stat --max-count=10
glgg git log --graph --max-count=10
glgga git log --graph --decorate --all
glo git log --oneline --decorate --color
glog git log --oneline --decorate --color --graph
gss git status -s
ga git add
gm git merge
grh git reset HEAD
grhh git reset HEAD --hard
gclean git reset --hard && git clean -dfx
gwc git whatchanged -p --abbrev-commit --pretty=medium
gpoat git push origin --all && git push origin --tags
gmt git mergetool --no-prompt
gg git gui citool
gga git gui citool --amend
gk gitk --all --branches
gsts git stash show --text
gsta git stash
gstp git stash pop
gstd git stash drop
grt cd $(git rev-parse --show-toplevel || echo || echo ".")
git-svn-dcommit-push git svn dcommit && git push github master:svntrunk
gsr git svn rebase
gsd git svn dcommit