Debian Codegraph @

scripts/trackall.sh

raw
1 #!/bin/bash
2
3 # Copyright (c) 2015 Microsoft Corporation
4 # Script for "cloning" (and tracking) all branches at codeplex.
5 # On Windows, this script must be executed in the "git Bash" console.
6
7 for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
8 git branch --track ${branch##*/} $branch
9 done
10 git fetch --all
11 git pull --all