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
170
Git submodule
Oursky Limited
December 15, 2014
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
510
SSH Can
oursky
1
330
HTTP/2
oursky
0
360
watchOS2
oursky
0
350
Common QA issues
oursky
0
210
Complex is better than complicated
oursky
0
290
Clean code again
oursky
3
380
KiriKiri x O2 x NVLMarker
oursky
0
250
Flux + React
oursky
1
400
Other Decks in Programming
See All in Programming
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
270
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
120
CSC307 Lecture 07
javiergs
PRO
0
550
「ブロックテーマでは再現できない」は本当か?
inc2734
0
950
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
ThorVG Viewer In VS Code
nors
0
770
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
RailsConf 2023
tenderlove
30
1.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
The Limits of Empathy - UXLibs8
cassininazir
1
210
How to Ace a Technical Interview
jacobian
281
24k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
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