Oh My Zsh – Git Cheat Sheet git 치트 시트

Oh My Zsh - Git Cheat Sheet

ggit

gstgit status

glgit pull

gupgit pull --rebase

gpgit push

gdgit diff

gdcgit diff --cached

gdvgit diff -w "$@" | view -

gcgit commit -v

gc!git commit -v --amend

gcagit commit -v -a

gca!git commit -v -a --amend

gcmsggit commit -m

gcogit checkout

gcmgit checkout master

grgit remote

grvgit remote -v

grmvgit remote rename

grrmgit remote remove

gsetrgit remote set-url

grupgit remote update

grbigit rebase -i

grbcgit rebase --continue

grbagit rebase --abort

gbgit branch

gbagit branch -a

gcountgit shortlog -sn

gclgit config --list

gcpgit cherry-pick

glggit log --stat --max-count=10

glgggit log --graph --max-count=10

glggagit log --graph --decorate --all

glogit log --oneline --decorate --color

gloggit log --oneline --decorate --color --graph

gssgit status -s

gagit add

gmgit merge

grhgit reset HEAD

grhhgit reset HEAD --hard

gcleangit reset --hard && git clean -dfx

gwcgit whatchanged -p --abbrev-commit --pretty=medium

gstsgit stash show --text

gstagit stash

gstpgit stash pop

gstdgit stash drop

ggpullgit pull origin $(current_branch)

ggpurgit pull --rebase origin $(current_branch)

ggpushgit push origin $(current_branch)

ggpnpgit pull origin $(current_branch) && git push origin $(current_branch)

glp_git_log_prettily

https://gist.github.com/AdamMarsden/1c9336b65fa185cdfb14

 

댓글 달기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

Scroll to Top