chore(local-agent): 從 git 移除誤 commit 的 wails build binary(10MB Mach-O)
3f0175f commit local-agent/ 時連帶把 wails build 出的執行檔 local-agent/visiona-agent/visiona-agent(10MB Mach-O 64-bit x86_64) 一起進 git,違反「build artifact 不進 git」原則: - 可重新產生:source 已在 git,clone 後 wails build 即可 - 平台特定:x86_64 macOS 執行檔對其他平台無用 - repo 變胖:git history 永遠保留這 10MB 修法: - git rm --cached(保留磁碟上檔案,下次 wails build 還會用) - local-agent/.gitignore 補 /visiona-agent/visiona-agent 防再犯 注意:3f0175f 的 history 仍含此 binary,徹底清除需 git filter-repo (local-only repo、未 push、暫不處理)。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d9d8f03fba
commit
72672972c8
4
local-agent/.gitignore
vendored
4
local-agent/.gitignore
vendored
@ -78,3 +78,7 @@ desktop.ini
|
|||||||
*.pem
|
*.pem
|
||||||
*.key
|
*.key
|
||||||
|
|
||||||
|
|
||||||
|
# 直接在 visiona-agent/ 下 go build 出的 binary(沒進 build/bin/ 的情況)
|
||||||
|
# 這是平台特定的 executable(10MB);source code 已在 git,需要時自己 wails build 即可
|
||||||
|
/visiona-agent/visiona-agent
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user