Skip to navigation
Delete all committed history and just keep the main in github
23.10.26
delete all committed history and just keep the main in github ``` git checkout --orphan fresh git add -A git commit -m "up: current tree" git branch -M fresh main git push --force origin main ```
Reply
Anonymous
``` git fetch origin --prune git reset --hard origin/main git reflog expire --expire=now --all git gc --prune=now ```
23.10.26
Reply
Anonymous
Information Epoch 1793285744
Make every program a filter.
Home
Notebook
Contact us