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
470
SSH Can
oursky
1
290
HTTP/2
oursky
0
320
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
210
Flux + React
oursky
1
370
Other Decks in Programming
See All in Programming
技術的負債と戦略的に戦わざるを得ない場合のオブザーバビリティ活用術 / Leveraging Observability When Strategically Dealing with Technical Debt
yoshiyoshifujii
0
160
TypeScript製IaCツールのAWS CDKが様々な言語で実装できる理由 ~他言語変換の仕組み~ / cdk-language-transformation
gotok365
7
380
JSAI2025 RecSysChallenge2024 優勝報告
unonao
1
380
Reactive Thinking with Signals, Resource API, and httpResource @Devm.io Angular 20 Launch Party
manfredsteyer
PRO
0
130
OpenNext + Hono on Cloudflare でイマドキWeb開発スタックを実現する
rokuosan
0
110
iOSアプリ開発もLLMで自動運転する
hiragram
6
2.2k
型安全なDrag and Dropの設計を考える
yudppp
5
660
從零到一:搭建你的第一個 Observability 平台
blueswen
0
220
テスト分析入門/Test Analysis Tutorial
goyoki
12
2.7k
Agent Rules as Domain Parser
yodakeisuke
1
350
Devinで実践する!AIエージェントと協働する開発組織の作り方
masahiro_nishimi
6
2.6k
TypeScript Language Service Plugin で CSS Modules の開発体験を改善する
mizdra
PRO
3
2.4k
Featured
See All Featured
BBQ
matthewcrist
88
9.7k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Become a Pro
speakerdeck
PRO
28
5.4k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Bash Introduction
62gerente
614
210k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Cost Of JavaScript in 2023
addyosmani
49
8.1k
We Have a Design System, Now What?
morganepeng
52
7.6k
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