Add function to pull all git repos

This commit is contained in:
exu 2025-04-15 09:07:06 +02:00
parent df240d09ae
commit fba21c4f5b

View File

@ -0,0 +1,4 @@
# Pull all git repos within the current directory
function megapull
find . -type d -exec sh -c 'if [ -d "$0/.git" ]; then git -C "$0" pull; fi' {} \;
end