とりあえずのメモ

$ cat ~/.gitconfig

[alias]
    pull-dry-run  = !"git fetch origin; B=$(git rev-parse --abbrev-ref HEAD); git diff --stat --summary ${B}..origin/${B}"
    nevermind = !git reset --hard HEAD && git clean -d -f
    precommit = diff --cached --diff-algorithm=minimal -w
    pl = pull
    ps = push
    co = checkout
    br = branch
    tg = tag