[alias] sync = !git fetch && git pull [alias] currentbranch = rev-parse --abbrev-ref HEAD [alias] scorch = !git fetch origin && git reset --hard origin/$(git currentbranch) && git clean -fd [alias] branchcleanup = !git remote prune origin [alias] remotes = !git remote -v [alias] info = !git remote get-url origin [alias] branches = !git branch -a [alias] unstage = !git reset -- [alias] sc = !git stage . && git commit [alias] scm = "!f() { set -x; msg=\"$@\"; git stage .; git commit -m \"$msg\"; }; f" [alias] scmp = "!f() { set -x; msg=\"$@\"; git stage .; git commit -m \"$msg\"; git push; }; f" [alias] lazy = "!f() { msg='lazy commit: '$( date '+%F_%H:%M:%S' ); git stage .; git commit -m \"$msg\"; git push; }; f" [alias] tagversion = "!f() { msg=\"creating tag for v${1}\"; git tag -m \"$msg\" v${1}; }; f" [alias] pushtags = !git push --follow-tags [alias] history = !git log --oneline -n 20 [alias] historylong = !git log --stat