Git OMZ Cheat Sheet

A cheat sheet in English by sanjanaatnine

Shortcuts to use with OhMyZsh

6,071 views 2,077 downloads 4 Jan 2019 History
3.7 avg · 0 ratings

git primary

ga
git add
gaa
git add --all
gb
git branch
gbr
git branch --remote
gc
git commit -v
gcb
git checkout -b
gcf
git config --list
gcm
git checkout master
gcd
git checkout develop
gco
git checkout

git primary 2

gd
git diff
gf
git fetch
gfo
git fetch origin
ggpull
git pull origin {current branch}
ggpush
git push origin {current branch}
gl
git pull
glg
git log --stat --max-­count = 10
gm
git merge
grb
git rebase
grbi
git rebase -i
grh
git reset HEAD
grhh
git reset HEAD --hard
gst
git status
gstaa
git stash apply

git primary 3

grmv
git remote rename
grrm
git remote remove
grset
git remote set-url
gstd
git stash drop
gstl
git stash list
gstp
git stash pop
gsu
git submodule update
gup
git pull --rebase

git custom

gck
git checkout {curre­ntl­yWIP}

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.