Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GitLFS移行のお話 / migrate to git lfs
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Webアクセシビリティ技術と実装の実際
tomokusaba
0
140
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
43k
AI Coding Agentの地殻変動 ~ ai-coding.info の定点観測 ~
kotauchisunsun
1
480
論文検索を日本語でできるアプリを作ってみた
sailen2
0
140
組織のSREを推進するためのPlatform EngineeringとEKS / Platform Engineering and EKS to drive SRE in your organization
chmikata
0
150
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4k
Microsoft Fabric のワークスペースと容量の設計原則
ryomaru0825
2
210
作るべきものと向き合う - ecspresso 8年間の開発史から学ぶ技術選定 / 技術選定con findy 2026
fujiwara3
6
1.5k
Secure Boot 2026 - Aggiornamento dei certificati UEFI e piano di adozione in azienda
memiug
0
120
AWS Bedrock Guardrails / 機密情報の入力・出力をブロックする — Blocking Sensitive Information Input/Output
kazuhitonakayama
2
180
AIに視覚を与えモバイルアプリケーション開発をより円滑に行う
lycorptech_jp
PRO
1
570
AI活用を"目的"にしたら、データの本質が見えてきた - Snowflake Intelligence実験記 / chasing-ai-finding-data
pei0804
0
800
Featured
See All Featured
Fireside Chat
paigeccino
41
3.8k
Crafting Experiences
bethany
1
74
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
260
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4k
Optimizing for Happiness
mojombo
379
71k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
78
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
460
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