Permalink
Browse files

add draft of a new script

  • Loading branch information...
1 parent f56f5e3 commit b899317cc3a701aa0d5cd99dccf106da3b14e203 Kuba Serafinowski committed Oct 25, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 gpull
View
10 gpull
@@ -0,0 +1,10 @@
+#!/bin/bash
+# draft script to update all git repos within my home dir
+
+# FIXME: make it work; add depth cli switch (increment it and blabla)
+if [[ -d *]]; then
+for dir in $dirs do;
+[[ -d .git ]] && git pull
+done
+
+exit 0

0 comments on commit b899317

Please sign in to comment.