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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Nathan Hughes
March 07, 2012
Programming
5
300
Github and the Software Startup
Using Github in the first month of a lean software startup.
Nathan Hughes
March 07, 2012
Tweet
Share
More Decks by Nathan Hughes
See All by Nathan Hughes
Detroit Labs Spring 2013 Mobile Update
ndh313
1
67
Hiring Well
ndh313
2
120
Raising Girls Stinks
ndh313
0
340
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
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
460
The free-lunch guide to idea circularity
hollycummins
0
230
20260315 AWSなんもわからん🥲
chiilog
2
160
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
2
390
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
970
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
150
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
110
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
200
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
980
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
560
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
150
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
150
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
88
Become a Pro
speakerdeck
PRO
31
5.8k
Side Projects
sachag
455
43k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
87
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
480
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
What's in a price? How to price your products and services
michaelherold
247
13k
For a Future-Friendly Web
brad_frost
183
10k
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