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
150
Git submodule
Oursky Limited
December 15, 2014
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
450
SSH Can
oursky
1
280
HTTP/2
oursky
0
310
watchOS2
oursky
0
290
Common QA issues
oursky
0
170
Complex is better than complicated
oursky
0
260
Clean code again
oursky
3
340
KiriKiri x O2 x NVLMarker
oursky
0
190
Flux + React
oursky
1
350
Other Decks in Programming
See All in Programming
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
150
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
230
CNCF Project の作者が考えている OSS の運営
utam0k
5
690
個人アプリを2年ぶりにアプデしたから褒めて / I just updated my personal app, praise me!
lovee
0
340
最近のVS Codeで気になるニュース 2025/01
74th
1
250
SpringBoot3.4の構造化ログ #kanjava
irof
2
970
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
660
Ruby on cygwin 2025-02
fd0
0
140
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
41
15k
定理証明プラットフォーム lapisla.net
abap34
1
1.7k
SwiftUI Viewの責務分離
elmetal
PRO
0
140
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
770
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
4 Signs Your Business is Dying
shpigford
182
22k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Optimizing for Happiness
mojombo
376
70k
Navigating Team Friction
lara
183
15k
Statistics for Hackers
jakevdp
797
220k
A designer walks into a library…
pauljervisheath
205
24k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
99
18k
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