osr-discourse/clear_history.sh
2024-06-29 21:53:26 +02:00

8 lines
174 B
Bash

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