mirror of
https://github.com/logos-co/logos-tutorial.git
synced 2026-08-30 20:31:06 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user