Skip to content

Instantly share code, notes, and snippets.

@pollend
Created January 18, 2021 00:04
Show Gist options
  • Save pollend/4591bc691e75d674e0356630df53e4cc to your computer and use it in GitHub Desktop.
Save pollend/4591bc691e75d674e0356630df53e4cc to your computer and use it in GitHub Desktop.
#!/bin/bash
org=""
tg=""
for i in */; do
tg="$(git -C "$(pwd)/$i" status)";
if [[ $tg == *"modified"* ]]; then
echo "${i}";
git -C "$(pwd)/$i" add -A .
git -C "$(pwd)/$i" checkout -b "feature/migrate-joml-ext"
git -C "$(pwd)/$i" commit -m $'feat(JOML): migrate joml to 1.10.0 and 1.0.0-SNAPSHOT for geometry \n \n PR: https://github.com/MovingBlocks/Terasology/pull/4413'
git -C "$(pwd)/$i" push origin feature/migrate-joml-ext
fi;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment