adding git pull for subdirectories
This commit is contained in:
10
sh/pull_all
Executable file
10
sh/pull_all
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
for dir in */; do
|
||||||
|
if [ -d "$dir/.git" ]; then
|
||||||
|
echo "Pulling in $dir..."
|
||||||
|
git -C "$dir" pull
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
Reference in New Issue
Block a user