12 lines
257 B
Bash
Executable File
12 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Usage: ./commit.sh
|
|
|
|
for d in $(ls "$HOME/.abra/apps/"); do
|
|
cd "$HOME/.abra/apps/$d"
|
|
if ! git diff --quiet --exit-code; then
|
|
git commit -m "gardening commit"
|
|
git push origin $(git branch --quiet | cut -d' ' -f2-)
|
|
fi
|
|
done
|