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
Github and the Software Startup
Search
Nathan Hughes
March 07, 2012
Programming
300
5
Share
Github and the Software Startup
Using Github in the first month of a lean software startup.
Nathan Hughes
March 07, 2012
More Decks by Nathan Hughes
See All by Nathan Hughes
Detroit Labs Spring 2013 Mobile Update
ndh313
1
70
Hiring Well
ndh313
2
120
Raising Girls Stinks
ndh313
0
360
The Floor is Lava! Practice Being Uncomfortable with Improv
ndh313
1
130
1H15M Making Stuff Up - the floor is LAVA!
ndh313
2
100
Other Decks in Programming
See All in Programming
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
410
Inspired By RubyKaigi (EN)
atzzcokek
0
490
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
340
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
260
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
1.5k
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
130
LLM Plugin for Node-REDの利用方法と開発について
404background
0
150
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
CSC307 Lecture 17
javiergs
PRO
0
310
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
260
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.1k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
The Cult of Friendly URLs
andyhume
79
6.9k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
The Cost Of JavaScript in 2023
addyosmani
55
10k
Context Engineering - Making Every Token Count
addyosmani
9
930
Designing Powerful Visuals for Engaging Learning
tmiket
1
390
Mobile First: as difficult as doing things right
swwweet
225
10k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
AI: The stuff that nobody shows you
jnunemaker
PRO
7
670
Transcript
GITHUB AND THE SOFTWARE STARTUP The First Month. Nathan Hughes
@ndh313
THE LEAN SOFTWARE STARTUP Pay for what you need, and
nothing else.
CHEAPNESS IS A SURVIVAL TRAIT
DAY ONE What’s the problem?
WHY GITHUB?
SMALL & NIMBLE SOURCE CODE IS IMPORTANT WORKFLOW IS IMPORTANT
SOCIAL SHARING ALIGNS
WEEK ONE What’s the problem?
KEEPING SECRETS Private and public repositories
KEEPING SECRETS SECRET SSH Public and Private Keys
GETTING YOUR STUFF INTO GITHUB
SO WHERE DO YOU START?
LONE WOLF WORKFLOW
Your Laptop github.com origin master local master Start Work End
Work git commit git add git clone git push 1 1 1 2
WEEK TWO What’s the problem?
GETTING YOUR STUFF ONTO OTHER SERVERS
DEPLOY KEYS
Your Laptop github.com origin master local master Start Work End
Work git commit git add Your Staging local master git clone 1 1 git push git pull 1 2 1 3
WEEK THREE What’s the problem?
ORGANIZATIONS AND TEAMS
ONE LESS SHORTCUT git pull: out. git fetch and git
merge: in
STANDARD PRACTICES fetch and merge from master often integrate often
MASTER REPOSITORY What the organization owns, aka upstream.
PERSONAL FORKS Yours, your new origin.
YOUR NEW WORKFLOW Work in your fork, send Pull Requests
to the Master
Your Laptop github.com Master Repo (upstream) master local master Start
Work End Work git commit git add Fork Repo (origin) master git clone git push Merge Pull Request Fork 1 1 1 2 1 3 1 4 1 5
BUT WHY? Two good reasons.
GRANULAR CHANGES Answering “what in the ***** happened?” since 2008.
CODE REVIEW The practice you can’t afford to skip.
KEEP IT. IF YOU CAN. Personal Forking and Pull Requesting
is a clean, simple, versatile workflow. It can work for a long time.
WEEK FOUR Success breeds complexity!
OH, YOU’RE HAVING PROBLEMS You don’t say. What a mess.
How interesting.
HARD DECISIONS Feature Branches? Per Developer Branches? Something Else? Dedicated
Build Managers?
BECAUSE WE ARE small, experienced, co-located, self-managing, WE’LL TRY FEATURE
BRANCHES
None
FEATURE BRANCHES
Your Laptop github.com Master Repo (upstream) master Start Work git
commit git add Fork Repo (origin) git clone git push -u origin feature Merge Branch Branch Pull Request Fork 1 1 1 2 1 3 1 4 1 5 local master git checkout -b feature End Work git checkout master 1 6 Feature Branch Pull Requests local feature
Your Laptop github.com Feature Branch Merge (Pull Request Accepted) Fork
Repo (origin) master git fetch upstream git push 1 1 1 2 1 3 1 4 local master Upstream Merge local feature (abandon) Master Repo (upstream) master git diff master upstream/master git merge upstream/master
WHEW.
GITHUB ISSUES
GITHUB WIKIS
WEEK FIVE AND BEYOND What else could there be?
WHAT ELSE COULD THERE BE? • Harvest - time tracking
• Jira - story tracking • Testflight - build management • Crashlytics - crash reporting • Trello - information mapping • Dropbox - file sharing • IRC - team chatting • Amazon S3 - cheap storage • Amazon EC2 - dedicated servers
QUESTIONS?
Good Bye! Nathan Hughes @ndh313