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
Git submodule
Search
Oursky Limited
December 15, 2014
Programming
0
160
Git submodule
Oursky Limited
December 15, 2014
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
490
SSH Can
oursky
1
310
HTTP/2
oursky
0
340
watchOS2
oursky
0
320
Common QA issues
oursky
0
200
Complex is better than complicated
oursky
0
280
Clean code again
oursky
3
360
KiriKiri x O2 x NVLMarker
oursky
0
230
Flux + React
oursky
1
380
Other Decks in Programming
See All in Programming
CSC509 Lecture 01
javiergs
PRO
1
430
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
590
2025年版 サーバーレス Web アプリケーションの作り方
hayatow
23
25k
階層構造を表現するデータ構造とリファクタリング 〜1年で10倍成長したプロダクトの変化と課題〜
yuhisatoxxx
3
910
Чего вы не знали о строках в Python – Василий Рябов, PythoNN
sobolevn
0
160
私はどうやって技術力を上げたのか
yusukebe
43
17k
AIエージェント時代における TypeScriptスキーマ駆動開発の新たな役割
bicstone
4
1.5k
止められない医療アプリ、そっと Swift 6 へ
medley
1
120
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
1
770
CSC509 Lecture 06
javiergs
PRO
0
240
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
3k
iOS 17で追加されたSubscriptionStoreView を利用して5分でサブスク実装チャレンジ
natmark
0
580
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Side Projects
sachag
455
43k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
We Have a Design System, Now What?
morganepeng
53
7.8k
Navigating Team Friction
lara
189
15k
Designing for Performance
lara
610
69k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Practical Orchestrator
shlominoach
190
11k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Transcript
Git submodule Android as an example Dec 2014, Rick Mak
Situation • I want to do a Swipe menu on
Android • I find a repos do what I want at Github • But the repos don’t publish on maven (or other hosted package management platform) • Or want to use a specific fork/commit
One of the solution • Copy the project into libs
or SupportProjects • Copy the jar
Pros and cons • git clone and go • Accessible
and can easily modify the plugins • Mixed up lib and App code • Difficult to update the library
Use git submodule • Smaller main repos • Maintain the
reusability of the module • Separation of concern, Application vs module • Contribute back of Open Source project • Upgrade of module become easy
How submodule look like
Actual usage • git clone
[email protected]
:oursky/project.git • Add • git
submodule add Path
[email protected]
:oursky/module.git • Checkout • git submodule update --init --recursive
How many travis script we have now?
Idiom • Fork to oursky • Branch by project name