Skip to content
Commonly used git aliases for your shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Commonly used git aliases. Fork to add more!


$ source


Alias Command
gs git status
gd git diff
gdc git diff --cached
gl git log
gpom git pull origin master
gpos git pull origin staging
gpoc git pull origin canary
gpum git pull upstream master
gf git fetch
gp git push
gpuo git push -u origin
ga git add .
gm git commit -m
gam git add . && git commit -m
gb git branch
gco git checkout
gcom git checkout master
gcoc git checkout canary
gcob git checkout -b
gc git clone
gr git rebase
grm git rebase master
grc git rebase --continue
grs git rebase --skip



You can’t perform that action at this time.