flexi-bot/clear_history.sh
2023-09-05 20:38:49 +02:00

8 lines
174 B
Bash

git checkout --orphan latest_branch
git add -A
git commit -am "init v0.2"
git branch -D master
git branch -m master
git push -f origin master
git gc --aggressive --prune=all