tutorial: add .gitignore before git add -A in step 3.1

Without a .gitignore, vendored C library binaries (lib/*.so, lib/*.dylib,
lib/*.a) and the Nix result symlink get staged by git add -A. Add a
.gitignore block to the tutorial so readers exclude them from the start.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
fryorcraken
2026-03-27 16:45:30 +11:00
co-authored by Claude Sonnet 4.6
parent b2bdcfdaba
commit 410f4abb68
+19 -1
View File
@@ -493,7 +493,25 @@ QString CalcModulePlugin::libVersion()
### 3.1 Initialize the Git repo
Nix flakes require a git repository:
Nix flakes require a git repository.
Before staging files, create a `.gitignore` to exclude vendored binaries and build artifacts:
```
# Vendored C library binaries (built by nix, do not commit)
lib/*.so
lib/*.dylib
lib/*.a
# Nix build output
result
result-*
# CMake build directory
build/
```
Then initialise the repo:
```bash
cd logos-calc-module