required = true
[alias]
# shortcuts
+ pp = "!git pull --rebase && git push"
+ up = "!git pull --rebase --prune $@ && git submodule update --init --recursive"
+ co = checkout
co = checkout
ci = commit
st = status
go = "!f() { git checkout -b \"$1\" 2> /dev/null || git checkout \"$1\"; }; f"
diff = diff --word-diff
# dont pull without rebase, and dont push without pull (fetch & merge)
- p = pull --rebase
- pp = "!git pull --rebase && git push"
# avoid merge commits
mf = merge --ff-only
cp = cherry-pick