130 lines
2.5 KiB
Markdown
130 lines
2.5 KiB
Markdown
<!-- Generated by SpecStory, Markdown v2.1.0 -->
|
|
|
|
<!-- cursor Session 69d1b98c-de8f-45e1-8137-532461a4443a (2025-10-29 04:04Z) -->
|
|
|
|
# Add binaries to LFS (2025-10-29 04:04Z)
|
|
|
|
_**User (2025-10-29 04:03Z)**_
|
|
|
|
add binaries to lfs; xlsx, docx, jpg, png, prproj, mp4, pdn, psd, pdf.
|
|
|
|
---
|
|
|
|
_**Agent (model default, mode Agent)**_
|
|
|
|
|
|
|
|
---
|
|
|
|
Checking for `.gitattributes` and setting up LFS tracking for the listed binary types.
|
|
|
|
|
|
---
|
|
|
|
Could not find file '.gitattributes' in the workspace.
|
|
|
|
---
|
|
|
|
|
|
|
|
---
|
|
|
|
Creating `.gitattributes` to track the specified binary file types with Git LFS:
|
|
|
|
|
|
---
|
|
|
|
<tool-use data-tool-type="write" data-tool-name="write">
|
|
|
|
<details><summary>Tool use: **code_edit** • Edit file: .gitattributes</summary>
|
|
|
|
**Chunk 1**
|
|
Lines added: 26, lines removed: 1
|
|
|
|
```diff
|
|
@@ -1,1 +1,26 @@
|
|
-
|
|
+ # Excel files
|
|
+ *.xlsx filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
+ # Word documents
|
|
+ *.docx filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
+ # Image files
|
|
+ *.jpg filter=lfs diff=lfs merge=lfs -text
|
|
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
|
|
+ *.png filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
+ # Adobe Premiere Pro project files
|
|
+ *.prproj filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
+ # Video files
|
|
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
+ # Paint.NET files
|
|
+ *.pdn filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
+ # Photoshop files
|
|
+ *.psd filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
+ # PDF files
|
|
+ *.pdf filter=lfs diff=lfs merge=lfs -text
|
|
+
|
|
```
|
|
|
|
</details>
|
|
|
|
</tool-use>
|
|
|
|
---
|
|
|
|
|
|
|
|
---
|
|
|
|
Created `.gitattributes` with LFS tracking for *.xlsx, *.docx, *.jpg, *.png, *.prproj, *.mp4, *.pdn, *.psd, *.pdf. Migrating existing matched files in the repository to LFS.
|
|
|
|
|
|
---
|
|
|
|
<tool-use data-tool-type="shell" data-tool-name="run_terminal_cmd">
|
|
<details><summary>Tool use: **command** • Run command: git lfs migrate import --include="*.xlsx,*.docx,*.jpg,*.jpeg,*.png,*.prproj,*.mp4,*.pdn,*.psd,*.pdf" --everything</summary>
|
|
|
|
```bash
|
|
git lfs migrate import --include="*.xlsx,*.docx,*.jpg,*.jpeg,*.png,*.prproj,*.mp4,*.pdn,*.psd,*.pdf" --everything
|
|
```
|
|
|
|
```
|
|
override changes in your working copy? All uncommitted changes will be lost! [y/N] working copy must not be dirty
|
|
|
|
```
|
|
</details>
|
|
</tool-use>
|
|
|
|
---
|
|
|
|
|
|
|
|
---
|
|
|
|
The migration requires a clean working tree. Staging `.gitattributes`, then we'll run the migration:
|
|
|
|
|
|
---
|
|
|
|
<tool-use data-tool-type="shell" data-tool-name="run_terminal_cmd">
|
|
<details><summary>Tool use: **command** • Run command: git add .gitattributes</summary>
|
|
|
|
```bash
|
|
git add .gitattributes
|
|
```
|
|
</details>
|
|
</tool-use>
|
|
|
|
---
|
|
|
|
Cancelled
|
|
|
|
---
|
|
|