Closed baerwang closed 1 year ago
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -tags static,system_libgit2 -trimpath -o git.exe
https://github.com/libgit2/git2go/issues/689#issuecomment-733733359