Skip to content

Commit d1baadf

Browse files
committed
added git--lfs and .gitattributes
1 parent 69da94a commit d1baadf

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/hf_space_push.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,11 @@ jobs:
2626
rsync -av codetide/agents/tide/ui/public/ examples/hf_demo_space/public/
2727
cp codetide/agents/tide/ui/chainlit.md examples/hf_demo_space/
2828
cd examples/hf_demo_space
29+
git lfs install
2930
git init --initial-branch=main
3031
git config user.name "github-actions[bot]"
3132
git config user.email "github-actions[bot]@users.noreply.github.com"
3233
git remote add origin https://McLoviniTtt:$HF_TOKEN@huggingface.co/spaces/McLoviniTtt/AgentTideDemo
3334
git add .
3435
git commit -m "Deploy Agent Tide Demo to HF Space"y
35-
git filter-branch --force --index-filter "
36-
git rm --cached --ignore-unmatch public/agent-tide-demo.gif
37-
git rm --cached --ignore-unmatch public/avatars/agent_tide.png
38-
git rm --cached --ignore-unmatch public/codetide-banner.png
39-
git rm --cached --ignore-unmatch public/logo_dark.png
40-
git rm --cached --ignore-unmatch public/logo_light.png
41-
" HEAD
4236
git push --force --all

gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.png
2+
*.gif

0 commit comments

Comments
 (0)