From cb6897b1a3c49c8d3bc1192489ebeff4f6a99575 Mon Sep 17 00:00:00 2001 From: Claus Lohmar Date: Wed, 14 Oct 2026 10:53:46 +0000 Subject: [PATCH] chore(gitignore): ignore only the root build binary, not the cmd/myday source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bare `myday` pattern matched any path component named `myday`, including the `cmd/myday/` source directory — so `cmd/myday/main.go` (the entrypoint) could never be committed and a fresh clone would not build. Anchor it to the repo root (`/myday`); the built binary still falls out of git. --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 06c21ac..07feb30 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,7 @@ data/ # --- Go build output --- /bin/ -myday +/myday *.exe # --- editor / OS ---