Show Menu
Cheatography

OhMyZsh Git Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Checkout

gco
git checkout
gcb
git checkout -b

Add

ga
git add

Commit

gc
git commit -v
gca
git commit -v -a
gcam
git commit -a -m

Pull

gl
git pull

Branch

gb
git branch
gbd
git branch -d
 

Merge

gmom
git merge origin­/master

Rebase

grbi
git rebase -i
grbs
git rebase --skip
grbc
git rebase --continue
grba
git rebase --abort

Stash

gstl
git stash list
gsta
git stash save
gstd
git stash drop
gstp
git stash pop

Push

gp
git push
gpsup
git push --set-­ups­tream origin $(git_­cur­ren­t_b­ranch)