willb (owner)

Revisions

gist: 12298 Download_button fork
public
Public Clone URL: git://gist.github.com/12298.git
Embed All Files: show embed
Track all remote branches for the current repository.sh #
1
for branch in $(git branch -r | grep -v HEAD) ; do git branch --track $(echo $branch | cut -f2- -d/) $branch ; done