$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GitLFS移行のお話 / migrate to git lfs
Search
ron / Ryuichi Saito
February 27, 2017
Technology
1
18k
GitLFS移行のお話 / migrate to git lfs
ron / Ryuichi Saito
February 27, 2017
Tweet
Share
Other Decks in Technology
See All in Technology
NIKKEI Tech Talk #41: セキュア・バイ・デザインからクラウド管理を考える
sekido
PRO
0
210
ソフトウェアエンジニアとAIエンジニアの役割分担についてのある事例
kworkdev
PRO
0
250
ESXi のAIOps だ!2025冬
unnowataru
0
370
フィッシュボウルのやり方 / How to do a fishbowl
pauli
2
390
2025年のデザインシステムとAI 活用を振り返る
leveragestech
0
240
SREが取り組むデプロイ高速化 ─ Docker Buildを最適化した話
capytan
0
150
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
6
3.6k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
Amazon Connect アップデート! AIエージェントにMCPツールを設定してみた!
ysuzuki
0
140
日本の AI 開発と世界の潮流 / GenAI Development in Japan
hariby
1
470
[2025-12-12]あの日僕が見た胡蝶の夢 〜人の夢は終わらねェ AIによるパフォーマンスチューニングのすゝめ〜
tosite
0
180
株式会社ビザスク_AI__Engineering_Summit_Tokyo_2025_登壇資料.pdf
eikohashiba
1
110
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
84
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
73
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Navigating Weather and Climate Data
rabernat
0
53
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
0
100
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
120
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
370
Code Review Best Practice
trishagee
74
19k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
130
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
29
Transcript
None
プログラマ出身インフラエンジニア
None
None
None
1GB/1repo grani/~~~~ 81GB たくさん 4日以内 停止
死刑宣告 ※使い方が悪い
None
Github Enterprise 他ホスティングサービス Git LFS Git Annex
None
Git L F S
None
引用:http://qiita.com/shibukk/items/e9af45a6009646c7e14f
None
引用:http://qiita.com/shibukk/items/e9af45a6009646c7e14f
None
← .gitconfigにfilterを設定 ← .gitattributesに追記 ← clean filterがポインタファイル化 ← trackしたファイルはLFSにpushされる
None
1. リポジトリのLFS化 2. 過去履歴の改変(サイズ削減)
git-lfs-migrate
手動でlfs track bfg-repo-cleaner
None
git-lfs-migrateが大きいサイズのリポジトリで使 えない リポジトリが大きすぎて複製できない
git addが笑えないくらい遅い addに約11時間
.git/refs/pull/に紐づくobjectが消せない(サイズが 減らない)
歴史改変後にgit gcするとエラーになる 歴史の改変に失敗してしまった リポジトリのコピーで作業できれば。。
None
非エンジニアが使い方が分からなくて戸惑う ポインタファイルがlfsサーバーに上がっちゃう 時がある
clone/pull/checkout etcが遅い git lfs コマンドを使いましょう
None
Pros Cons
現状だと色々辛みがあるが、選択肢としては悪 くなかった気はしている
None
コアシステムの再設計&Legacy API廃止 Scanner / Transfer Queue clean filterの動作を非同期にして高速化されたものと、転送 方法の改善?(よくわかってない) Filter
Process 1つのfilterで複数ファイルを扱えるようにすることでforkの コストが無くなる
None