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
120
Git submodule
Oursky Limited
December 15, 2014
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
430
SSH Can
oursky
1
250
HTTP/2
oursky
0
290
watchOS2
oursky
0
210
Common QA issues
oursky
0
150
Complex is better than complicated
oursky
0
230
Clean code again
oursky
3
310
KiriKiri x O2 x NVLMarker
oursky
0
160
Flux + React
oursky
1
330
Other Decks in Programming
See All in Programming
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
380
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
700
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
710
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
0
350
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
920
try! Swift Tokyo 初参加報告LT
hinakko2
0
220
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
190
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
110
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
250
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
930
GitHub Copilotのススメ
marcy731
1
200
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
In The Pink: A Labor of Love
frogandcode
138
21k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
The Cult of Friendly URLs
andyhume
74
5.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
37
2.5k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
Facilitating Awesome Meetings
lara
42
5.6k
Making Projects Easy
brettharned
108
5.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Atom: Resistance is Futile
akmur
259
25k
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