Files
dotfiles/source/git.zsh
Ted Kulp 326f13a9ce Various changes
* Add setopt for completion on aliases
* Update vim config sha
* Add grcl for cleaning up local branches based on purged remote branches
* Remove hub alias (it was causing too many issues)
* Updated Golang path
2015-08-03 05:53:46 -04:00

16 lines
318 B
Bash

alias ghm='git push heroku master'
function grcl () {
local branch="${1:=master}"
git checkout $branch
git pull
git remote prune origin
git branch -avv | grep "gone]" | awk '{ print $1 }' | xargs git branch -d;
}
compdef _git grcl=git-checkout
# For "hub" http://hub.github.com/
# eval "$(hub alias -s)"