mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-19 19:14:51 +00:00
19 lines
319 B
Bash
19 lines
319 B
Bash
#!/bin/sh
|
|
if [ "$#" -ne 1 ]; then
|
|
echo "Usage: $0 <commit-message>"
|
|
exit 1
|
|
fi
|
|
|
|
for dir in */ ; do
|
|
if [ -d "$dir/.git" ]; then
|
|
echo "Processing $dir"
|
|
(
|
|
cd "$dir" || exit
|
|
git add .
|
|
git commit -m "$1"
|
|
git push
|
|
)
|
|
fi
|
|
done
|
|
|
|
echo "Done!"
|