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
480
SSH Can
oursky
1
300
HTTP/2
oursky
0
330
watchOS2
oursky
0
310
Common QA issues
oursky
0
190
Complex is better than complicated
oursky
0
270
Clean code again
oursky
3
350
KiriKiri x O2 x NVLMarker
oursky
0
220
Flux + React
oursky
1
370
Other Decks in Programming
See All in Programming
Benchmark
sysong
0
280
A2A プロトコルを試してみる
azukiazusa1
2
1.2k
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
170
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
250
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
450
NPOでのDevinの活用
codeforeveryone
0
460
プロダクト志向ってなんなんだろうね
righttouch
PRO
0
170
WebViewの現在地 - SwiftUI時代のWebKit - / The Current State Of WebView
marcy731
0
100
Goで作る、開発・CI環境
sin392
0
170
GraphRAGの仕組みまるわかり
tosuri13
8
500
#QiitaBash MCPのセキュリティ
ryosukedtomita
0
420
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
120
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
How STYLIGHT went responsive
nonsquared
100
5.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
GitHub's CSS Performance
jonrohan
1031
460k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
680
Faster Mobile Websites
deanohume
307
31k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
The Language of Interfaces
destraynor
158
25k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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