Tuesday, 1 December 2015

Checkout remote branch and track


for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master `; do
 git branch --track ${branch#remotes/origin/} $branch
done

No comments:

Post a Comment