Merge pull request #19 from logos-co/add-gitignore-step-3

tutorial: add .gitignore before git add -A in step 3.1
This commit is contained in:
Iuri Matias
2026-04-01 10:04:17 -04:00
committed by GitHub
+19 -1
View File
@@ -496,7 +496,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