Skip to content

Instantly share code, notes, and snippets.

@gorenje
Created June 7, 2011 10:22
Show Gist options
  • Save gorenje/1012002 to your computer and use it in GitHub Desktop.
Save gorenje/1012002 to your computer and use it in GitHub Desktop.
bash alias for fetch all remote git repos
alias git-fetch-all="git remote | xargs -I % git fetch % && (git remote | xargs -I % git remote show %) | sed s'/* remote /################## /'g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment