git: add clear git script
All checks were successful
Build and Deploy Quartz / build-and-deploy (push) Has been skipped

This commit is contained in:
2026-01-01 14:05:21 +08:00
parent c6013e2524
commit d8aa3f63fb
2 changed files with 48 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
"format": "npx prettier . --write",
"test": "tsx --test",
"profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1",
"clear-git": "git checkout --orphan temp-branch && git add . && git commit -m \"init: init commit, build\" && git branch -m main old && git branch -m temp-branch main && git checkout main"
"clear-git": "node scripts/clear-git-history.js"
},
"engines": {
"npm": ">=10.9.2",