10 lines
169 B
Bash
10 lines
169 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
while true; do
|
||
|
if git diff --exit-code --name-only; then
|
||
|
sleep 1
|
||
|
else
|
||
|
git commit -a --amend -C HEAD && git push --force
|
||
|
fi
|
||
|
done
|