scripts

misc scripts and tools
git clone git://git.2f30.org/scripts.git
Log | Files | Refs

commit cbf8f37b9f2dd742607143f98d6c544da1334fc2
parent 0dcc52184f2bc6ba53ccbd3a9a61a64dd209e02e
Author: sin <sin@2f30.org>
Date:   Thu Jun 27 19:14:35 +0300

Add git-update-all

Diffstat:
git-update-all | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/git-update-all b/git-update-all @@ -0,0 +1,11 @@ +#!/bin/sh +# Update all git repos in current folder + +for i in *; do + cd "$i" + if [ -d .git ]; then + echo "updating $i..." + git pull + fi + cd - >/dev/null +done