Refine .gitignore: track papers, models, and figures; exclude only regenerable binaries
This commit is contained in:
parent
6056453c9c
commit
d9283ceb10
1 changed files with 11 additions and 16 deletions
27
.gitignore
vendored
27
.gitignore
vendored
|
|
@ -1,8 +1,8 @@
|
||||||
# The Institute vault — what never enters git.
|
# The Institute vault — what never enters git.
|
||||||
# Rule: git tracks knowledge + code; heavy binaries live on disk and back up separately.
|
# Policy: git tracks KNOWLEDGE + SOURCE; only regenerable/large build artifacts are ignored.
|
||||||
# (Git LFS for scientific data — OpenSim meshes, checkpoints — is a later option.)
|
# Papers (.pdf), OpenSim models (.osim), figures (.png/.jpg), and code all sync.
|
||||||
|
|
||||||
# --- Python ---
|
# ── Python ──
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
|
|
@ -11,12 +11,11 @@ venv/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
*.so
|
*.so
|
||||||
|
|
||||||
# --- Scientific / engineering binaries ---
|
# ── Generated scientific data & checkpoints (regenerable / huge) ──
|
||||||
*.vtu
|
*.vtu
|
||||||
*.vtp
|
*.vtp
|
||||||
*.stl
|
|
||||||
*.obj
|
*.obj
|
||||||
*.osim # large OpenSim models; force-add small canonical ones with `git add -f`
|
*.stl
|
||||||
*.pt
|
*.pt
|
||||||
*.pth
|
*.pth
|
||||||
*.ckpt
|
*.ckpt
|
||||||
|
|
@ -25,19 +24,15 @@ venv/
|
||||||
*.h5
|
*.h5
|
||||||
*.hdf5
|
*.hdf5
|
||||||
|
|
||||||
# --- Media / renders (generated) ---
|
# ── Renders / video (generated) ──
|
||||||
*.mp4
|
*.mp4
|
||||||
*.gif
|
*.gif
|
||||||
*.mov
|
*.mov
|
||||||
*.png # generated renders; force-add canonical figures explicitly
|
*.webm
|
||||||
*.jpg
|
|
||||||
*.jpeg
|
|
||||||
*.tiff
|
|
||||||
|
|
||||||
# --- LaTeX / build outputs (commit final manuscripts explicitly) ---
|
# ── LaTeX / build artifacts ──
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
*.log
|
|
||||||
*.aux
|
*.aux
|
||||||
*.out
|
*.out
|
||||||
*.toc
|
*.toc
|
||||||
|
|
@ -46,15 +41,15 @@ dist/
|
||||||
*.synctex.gz
|
*.synctex.gz
|
||||||
*.fdb_latexmk
|
*.fdb_latexmk
|
||||||
*.fls
|
*.fls
|
||||||
*.pdf
|
*.log
|
||||||
|
|
||||||
# --- OS / editor noise ---
|
# ── OS / editor noise ──
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
*.swp
|
*.swp
|
||||||
.obsidian/workspace.json
|
.obsidian/workspace.json
|
||||||
.obsidian/workspace-mobile.json
|
.obsidian/workspace-mobile.json
|
||||||
|
|
||||||
# --- Local secrets ---
|
# ── Secrets ──
|
||||||
.env
|
.env
|
||||||
*.local
|
*.local
|
||||||
Loading…
Reference in a new issue