Skip to content

Instantly share code, notes, and snippets.

@davidmfoley
Created August 4, 2011 20:57
Show Gist options
  • Save davidmfoley/1126260 to your computer and use it in GitHub Desktop.
Save davidmfoley/1126260 to your computer and use it in GitHub Desktop.
update and prune all remotes except heroku
alias gru='git remote show | sed '\''/heroku/d'\'' | xargs -I {} git remote update {} --prune'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment