From 22a8d8589e558524f29570b3cfee779276c38831 Mon Sep 17 00:00:00 2001
From: donal <donalspring@gmail.com>
Date: Wed, 09 May 2018 16:40:59 +0200
Subject: [PATCH] ADD branch puller

---
 git-pull-all.sh |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/git-pull-all.sh b/git-pull-all.sh
new file mode 100755
index 0000000..a83b672
--- /dev/null
+++ b/git-pull-all.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+# util function for pulling all repo branches
+echo ""
+echo "    PULLING ALL BRANCHES"
+echo ""
+echo "##################################################"
+echo ""
+for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
+    git branch --track ${branch#remotes/origin/} $branch
+done
+echo ""
+echo "##################################################"
+echo ""
\ No newline at end of file

--
Gitblit v1.9.3