Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Using Git hosting
Search
HeChien Hsu
October 14, 2014
How-to & DIY
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Using Git hosting
HeChien Hsu
October 14, 2014
More Decks by HeChien Hsu
See All by HeChien Hsu
[Kaohsiung Rails meetup] 國際化影片分享網站
hechien
0
200
[Wheel Lab #2] Apple Service with Rails.
hechien
0
120
[Sokoos][教育訓練] Git - 1
hechien
0
180
[數位教學] 用Bootstrap製作網頁
hechien
0
1.4k
DesignYou - 專題報告投影片
hechien
0
150
[作業] 創意美學
hechien
0
87
[教育訓練] Rails Form Basic
hechien
1
88
[教育訓練] Rails Validation Basic
hechien
1
120
Rails Layout Basic
hechien
2
140
Other Decks in How-to & DIY
See All in How-to & DIY
JAWS-UG/AWS Community Update - JAWS-UG栃木 #6
awsjcpm
0
160
好みと忠実度を分離する現代オーディオ戦略
frievea
0
100
JAWS-UG/AWS Communities Updates 2025/11/8 JAWS-UG 島根支部
awsjcpm
1
190
人見知りな HUB おじさんが 会話のハードルを超え、 今度は誰かの踏み台になろうとする話/hub-guy-as-a-stepping-stone
aokiplayer
2
1.6k
チームパフォーマンスを高めるための2種類のセルフマネジメント / Two Types of Self-Management for Improving Team Performance
iwashi86
4
1.2k
LLMを「機能」として組み込む技術:「Figma to はてなCMS」におけるプロンプトエンジニアリングからAIエージェント構築にわたる精度向上の軌跡
nanimonodemonai
0
620
生成AIは 『コードを書く』だけじゃない アーキテクチャ設計から環境構築まで——社内データ活用DXの全貌
punipuni_mint
0
240
JAWS-UG 福岡 KYUSYU QUEST - AWSコミュニティ支援のいまむかし
awsjcpm
0
190
ROSAというLLM使ったROSエージェントをおもちゃに実装してみた話
takeofuture
0
350
未熟な発表が歓迎される時代をもう一度
neotag
0
110
透析という名の登山:元SEが挑む、週3回のリアル・クエスト
ohbayukio2026
0
100
10分de名コミュ “最高の自分”を演じ憧れの同業者と渡り合う
subroh0508
1
690
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
790
Discover your Explorer Soul
emna__ayadi
2
1.3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
We Are The Robots
honzajavorek
0
400
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Ethics towards AI in product and experience design
skipperchong
2
440
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Making Projects Easy
brettharned
120
6.8k
Transcript
Using Git hosting 徐赫謙
Choices of Git hosting • Github - http://github.com • BitBucket
- http://bitbucket.org
Benefits of Git hosting • ⼈人員管控容易 - 減少管理成本 • 有眾多的
Services - 可以做到 push / pull 狀態監控、搭配⾃自動化 unit testing … 等 • ⽅方便整合 Project Management System - 可以搭配票號整理 (Ticket number) • 可以輕易處理協同開發 - SSH based 的 Git server 很難處理這⼀一塊 (即便是 Gitosis / Gitolite 也⼀一樣) • 有提供 Code Review 功能與 Branch merge 管控 - 避免產品在上線 之前就炸爛給你看 • 與部署⼯工具搭配良好 - 尤其是 Rails 的
Benefits of DIY • 免費 (不過時間成本都耗在上⾯面了)
Plans of Github
Plans of Github • Github 以 Private 專案數量進⾏行收費 • 專案數⼩小於等於
5 ,不管多少開發者,收你⼀一個 ⽉月七鎂 • 適合多開發者、專案數較少的團隊 • 注意:Private repo 是不會被別⼈人看到的
Plans of BitBucket
Plans of BitBucket • BitBucket 以開發⼈人數進⾏行收費 • 開發⼈人數⼩小於等於 10 ,不管多少
Private repo, 收你⼀一個⽉月⼗十鎂 • 適合少開發者、專案數較多的團隊 • 注意:但是有⽐比 Github 難⽤用⼀一點
How to use? • Commit Tree - 可以很清楚、簡單看到誰送了這條 commit 、
commit 內容、在 哪個 branch ,然後可以針對 commit 內某段程式碼進⾏行討論與 Code Review • Access management - 就是使⽤用者管理 • Branch management - 管理 Branch ,可以細到管理誰可以存取哪⼀一個 branch • Pull Request <= The most important • Service Hooks <= Cool things • Issues Tracking <= 不過建議使⽤用 Redmine • Wiki <= 不過建議在 Redmine 上⽤用 • HipChat <= 把 Branch update 的 E-mail 通知搬到 HipChat 上,更好⽤用
Code Review • 避免程式碼爆掉的⼀一種⼿手段 • 帶領新⼿手開發者⽤用的⼀一個好⽅方式 • 別⼈人上傳的程式碼需要被 Review ,可直接討論
Pull Request • 避免程式碼爆掉的⼀一種⼿手段 • 在程式碼準備從 develop merge 到 master
之前 先擋下來看⼀一看,討論該修改的部分後再允許進 ⾏行 merge • 適合搭配 Git flow 來開發 • 參考: http://ihower.tw/blog/archives/5140
Service Hooks • 搭配 Service Hooks 可以達到 服務整合的能⼒力 • 這部分
Github ⽐比較多 … • 最常⾒見的⽤用途是 push 上去後 ⾃自動進⾏行測試、通知 … 等等
Deploy example (using Rails) 1. git push commit to develop
branch 2. send pull request from develop to master 3. agree and merge 4. execute “cap production deploy” on local terminal 5. done