From b0a14e013b318fa87714414b8ece95780527bddf Mon Sep 17 00:00:00 2001 From: Nathan Lasseter Date: Fri, 18 Sep 2015 11:51:28 +0100 Subject: Initial commit --- pullgits | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 pullgits (limited to 'pullgits') diff --git a/pullgits b/pullgits new file mode 100755 index 0000000..7da8eb6 --- /dev/null +++ b/pullgits @@ -0,0 +1,15 @@ +#!/bin/bash + +WD=$([ "x" == "x$1" ] && echo $PWD || echo $1) + +GITS=$(find $WD -type d | egrep '\.git$') + +echo $GITS + +exit 0 + +for i in $GITS +do + cd $i + git pull +done -- cgit v1.2.1