2024/11/25
That (1) go tries to bake VCS info into go binaries and (2) go still doesn’t understand git worktrees :/ and (3) the easiest way to get go builds to work in a git worktree or bare git repo is to
go env -w GOFLAGS=-buildvcs=false
I’m not sure how global these flags are.