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
130
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
260
HTTP/2
oursky
0
290
watchOS2
oursky
0
240
Common QA issues
oursky
0
160
Complex is better than complicated
oursky
0
240
Clean code again
oursky
3
310
KiriKiri x O2 x NVLMarker
oursky
0
170
Flux + React
oursky
1
340
Other Decks in Programming
See All in Programming
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
370
入社1ヶ月でここまでやった!Findy Toolsインフラ支援の最適化
rvirus0817
6
1.4k
CSC307 Lecture 05
javiergs
PRO
0
210
DDDを志して3年経ったら「DDDの皮を被ったクリーンアーキテクチャ」になった話【デブサミ2024夏】
texmeijin
1
620
Xcode 16のPreviewModifierと@Previewableを活用した効率的なプレビュー方法の考察
ojun9
2
160
Async Await: Mastering Python's Time-Bending Tricks - EuroPython2024
yanbo
1
290
リハビリmruby
kishima
1
160
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Berlin
prof18
0
110
Trial
cairolibrary720
1
130
CSC307 Lecture 09
javiergs
PRO
1
500
12年前の『型システム入門』翻訳の思い出話
mame
11
1.2k
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
346
19k
How GitHub Uses GitHub to Build GitHub
holman
471
290k
Writing Fast Ruby
sferik
623
60k
Building Effective Engineering Teams - LeadDev
addyosmani
47
2.2k
Making the Leap to Tech Lead
cromwellryan
127
8.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
662
120k
Agile that works and the tools we love
rasmusluckow
325
20k
Fontdeck: Realign not Redesign
paulrobertlloyd
79
5.1k
Typedesign – Prime Four
hannesfritz
37
2.2k
No one is an island. Learnings from fostering a developers community.
thoeni
17
2.8k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
How to Ace a Technical Interview
jacobian
274
23k
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