This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
co = checkout | |
pullff = pull --ff-only | |
st = status | |
diffs = diff --cached | |
upstream = "!f() { git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD); }; f" | |
masterpull = "!f() { git checkout master; git pull --ff-only; }; f" | |
prune-branches = !git remote prune origin && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d |