Gitsunmin

TIL

TIL
(=Today I Learned)

git shortcuts command in zsh

이렇게 있다는 것을 최근에 알아서 편하게 사용중입니다.

AliasCommand
ggit
gagit add
gaagit add —all
gapagit add —patch
gbgit branch
gbagit branch -a
gbdagit branch —merged
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 reset —hard && git clean -dfx
gcmgit checkout master
gcmsggit commit -m
gcogit checkout
gcountgit shortlog -sn
gcpgit cherry-pick
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
ggpullggl
ggpurggu
ggpushggp
ggsupgit branch —set-upstream-to = origin/$(current_branch)
gignoregit update-index —assume-unchanged
gignoredgit ls-files -v
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)
glolagit log —graph —pretty = format:‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)
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
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
grtcd $(git rev-parse —show-toplevel
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
gstaagit stash apply
gstdgit stash drop
gstlgit stash list
gstpgit stash pop
gstsgit stash show —text
gsugit submodule update
gtsgit tag -s
gunignoregit update-index —no-assume-unchanged
gunwipgit log -n 1
gupgit pull —rebase
gupvgit pull —rebase -v
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—”