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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Oursky Limited
December 15, 2014
Programming
180
0
Share
Git submodule
Oursky Limited
December 15, 2014
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
530
SSH Can
oursky
1
330
HTTP/2
oursky
0
370
watchOS2
oursky
0
360
Common QA issues
oursky
0
220
Complex is better than complicated
oursky
0
300
Clean code again
oursky
3
390
KiriKiri x O2 x NVLMarker
oursky
0
260
Flux + React
oursky
1
410
Other Decks in Programming
See All in Programming
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
250
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
3
360
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
Claude Codeログ基盤の構築
giginet
PRO
7
3.9k
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
190
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
500
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
550
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
280
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
230
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
520
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
220
AI駆動開発がもたらすパラダイムシフト
ryosuke0911
0
110
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
WCS-LA-2024
lcolladotor
0
510
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
320
Become a Pro
speakerdeck
PRO
31
5.9k
AI: The stuff that nobody shows you
jnunemaker
PRO
4
510
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
110
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
94
A Modern Web Designer's Workflow
chriscoyier
698
190k
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