Shang Wang
自 2014 年投入遊戲程式開發,在 2026 年轉向 web。
跨足 PS4、Mobile、PC 與 VR/AR 平台,前/後端皆有開發經驗。
目前專注於 web 全端開發。
Latest posts
View all posts →- 以為 commit 沒了:claude -w 重建同名 worktree 撞到的 reset 事故用 claude -w 建好的 worktree 退出後被自動清掉,重開同名 worktree 卻撞上 branch 被 reset 的錯誤,一瞬間以為一堆 commit 沒了。後來才搞懂 reset 只是移動指標,用 reflog 就能找回節點,再用純 git 指令把 worktree 接回去。
- Claude Code
- git worktree
- blog 加上搜尋功能:選了 pagefind,跟著踩了一次 Vercel + Turborepo 的 cache 坑想幫 blog 補上搜尋,Google 的 search engine 會跳頁又怕帳單失控,改用 pagefind 做前端全文搜尋,卻意外在 Vercel/Turborepo 的 build cache 踩坑,才把設定補齊,讓索引穩定生效。
- pagefind
- search
- Vercel
- Turborepo