From 944b6db89ae715d93d0804a6a2358dcab88f1c07 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Wed, 24 Nov 2021 02:02:25 -0500 Subject: initial bare repo commit --- .local/bin/update-repos | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .local/bin/update-repos (limited to '.local/bin/update-repos') diff --git a/.local/bin/update-repos b/.local/bin/update-repos new file mode 100755 index 0000000..cfa5810 --- /dev/null +++ b/.local/bin/update-repos @@ -0,0 +1,7 @@ +#!/bin/sh + +## run this in a directory full of git repos (i usually keep them in ~) +for dir in * +do + cd "$dir" && git pull | sed s/Already/"$dir"\ is\ already/; cd .. +done -- cgit v1.2.3