1
0
Fork 0
ITI0021-loogiline-programme.../auto_commit.sh

10 lines
169 B
Bash
Raw Permalink Normal View History

2018-09-19 12:45:59 +03:00
#!/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