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
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
AIとともに進化するエンジニアリング / Engineering-Evolving-with-AI_final.pdf
lycorptech_jp
PRO
0
150
KubeCon + CloudNativeCon Japan 2025 に行ってきた! & containerd の新機能紹介
honahuku
0
120
Github Copilot エージェントモードで試してみた
ochtum
0
140
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
120
LangChain Interrupt & LangChain Ambassadors meetingレポート
os1ma
2
260
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
4
3.4k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
26k
ビギナーであり続ける/beginning
ikuodanaka
3
620
Backlog ユーザー棚卸しRTA、多分これが一番早いと思います
__allllllllez__
1
120
Node-REDのFunctionノードでMCPサーバーの実装を試してみた / Node-RED × MCP 勉強会 vol.1
you
PRO
0
130
あなたの声を届けよう! 女性エンジニア登壇の意義とアウトプット実践ガイド #wttjp / Call for Your Voice
kondoyuko
4
530
使いたいMCPサーバーはWeb APIをラップして自分で作る #QiitaBash
bengo4com
0
1.5k
Featured
See All Featured
Facilitating Awesome Meetings
lara
54
6.4k
How to Ace a Technical Interview
jacobian
277
23k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Code Reviewing Like a Champion
maltzj
524
40k
Bash Introduction
62gerente
614
210k
Six Lessons from altMBA
skipperchong
28
3.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Embracing the Ebb and Flow
colly
86
4.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Scaling GitHub
holman
459
140k
Faster Mobile Websites
deanohume
307
31k
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