alias g='git'
source ~/.git-completion.bash
copy this file to your home directory
git-completion.bash
[user]
name = <your name>
email = <your email>
[color]
ui = auto
[alias]
c = commit
o = checkout
pl = pull
ps = push
psu = push -u
s = status
b = branch
cl = clone
l = log --decorate --stat
lg = log --graph --oneline --decorate
la = log --graph --oneline --decorate --all
a = add
d = diff
mg = merge
r = reset
rb = rebase
f = fetch
amend = commit --amend
fl = flow
feature = flow feature
release = flow release
hotfix = flow hotfix