Show Menu

Git OMZ Cheat Sheet by

Shortcuts to use with OhMyZsh
ohmyzsh

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}

Download the Git OMZ Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/sanjanaatnine_git-omz.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets