diff --git a/push_auto_update.sh b/push_auto_update.sh index 0d0e4371b0..9972da6acf 100755 --- a/push_auto_update.sh +++ b/push_auto_update.sh @@ -39,6 +39,7 @@ else commit_message="Auto-generate files" fi +git pull --rebase git add -A git diff --staged --quiet || git commit -am "$commit_message" git push