diff options
| author | Seth Flynn <[email protected]> | 2021-11-24 02:02:25 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2022-08-04 04:40:17 -0400 |
| commit | 944b6db89ae715d93d0804a6a2358dcab88f1c07 (patch) | |
| tree | 5244d9f5ddf4f8a661e17c184fbadf2e553dbd43 /.local/bin/update-repos | |
initial bare repo commit
Diffstat (limited to '.local/bin/update-repos')
| -rwxr-xr-x | .local/bin/update-repos | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
