diff --git a/create-adblock.sh b/create-adblock.sh index 893ecd0..f17731a 100755 --- a/create-adblock.sh +++ b/create-adblock.sh @@ -40,11 +40,11 @@ echo '' > compiled/all-adblock.txt cd compiled git add all-adblock.txt git commit --quiet -m "$date" -git push --quiet +git push --quiet --no-progress 2>&1 | grep -v "references" lastcommit=$(git log --pretty=format:'%H' -n 3 | tail -n 1) git checkout --quiet --orphan temp $lastcommit git commit --quiet -m "Truncated history" git rebase --quiet --onto temp $lastcommit main git branch --quiet -D temp -git push --quiet --force +git push --quiet --force --no-progress 2>&1 | grep -v "references"