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
140
Git submodule
Oursky Limited
December 15, 2014
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
440
SSH Can
oursky
1
260
HTTP/2
oursky
0
300
watchOS2
oursky
0
250
Common QA issues
oursky
0
170
Complex is better than complicated
oursky
0
240
Clean code again
oursky
3
320
KiriKiri x O2 x NVLMarker
oursky
0
180
Flux + React
oursky
1
340
Other Decks in Programming
See All in Programming
エンジニア1年目で複雑なコードの改善に取り組んだ話
mtnmr
3
2k
connect-go で面倒くささと戦う / 2024-08-27 #newmo_layerx_go
izumin5210
2
650
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
はじめてみよう量子プログラミング
itokoichi01
0
210
今インフラ技術をイチから学び直すなら
yuhta28
1
140
rbs-inlineを導入してYARDからRBSに移行する
euglena1215
1
290
Modern Angular with the NGRX Signal Store New Rules for Your Architecture @BASTA! 2024 in Mainz
manfredsteyer
PRO
0
150
Regular Expressions, REXML, Automata Learning
makenowjust
0
220
私のEbitengineの第一歩
qt_luigi
0
450
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
250
全部見せます! クラシルリワードのSwiftTesting移行プロジェクト
uetyo
0
210
令和トラベルにおけるLLM活用事例:社内ツール開発から得た学びと実践
ippo012
0
210
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
230
17k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Building Your Own Lightsaber
phodgson
101
6k
What's new in Ruby 2.0
geeforr
340
31k
Fireside Chat
paigeccino
31
2.9k
BBQ
matthewcrist
83
9.2k
GraphQLの誤解/rethinking-graphql
sonatard
65
9.8k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
157
15k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
Become a Pro
speakerdeck
PRO
22
4.9k
Producing Creativity
orderedlist
PRO
340
39k
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