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
Intro to GitHub
Search
Alex Campbell
January 22, 2015
Programming
1
95
Intro to GitHub
An introduction to github (not git) for my data engineering class
Alex Campbell
January 22, 2015
Tweet
Share
More Decks by Alex Campbell
See All by Alex Campbell
HackCU Oh the Places You'll Go
zandrr
0
47
Other Decks in Programming
See All in Programming
Why 1 + 1 = 2 in Swift?
1plus4
1
250
自動テスト実行結果の目的を整理する / Organizing objectives of automated test results
twada
PRO
10
2.1k
RubyVM を PHP で実装する 〜Hello World を出力するまで〜
memory1994
PRO
1
490
イベントストーミングによるオブジェクトモデリング・オブジェクト指向プログラミングの適用・開発プロセスの変遷・アーキテクチャの変革 / Object modeling with Event Storming.
nrslib
12
3.2k
15分間でふんわり理解するDocker @ Matsuriba MAX
ukwhatn
PRO
1
340
The Future of C++ Interoperability: Insights from Porting a Game to Swift
teamhimeh
0
280
Enhancing Applications with Accessibility API
kishikawakatsumi
3
1k
Building a Smaller App Binary
kateinoigakukun
2
210
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
510
「コンパイル時のユニットテスト」導入するとユニットテストを 書かなくてよくなるのか?
tomohisa
9
2.2k
PHP8の機能を使って堅牢にコードを書く
fendo181
6
2.6k
Ruby製社内ツールのGo移行
bgpat
2
270
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
265
19k
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
219
21k
How To Stay Up To Date on Web Technology
chriscoyier
781
250k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Designing the Hi-DPI Web
ddemaree
275
33k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.8k
Navigating Team Friction
lara
177
13k
For a Future-Friendly Web
brad_frost
170
8.9k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Creatively Recalculating Your Daily Design Routine
revolveconf
209
11k
Transcript
INTRO TO GITHUB How to become a sir while githubbing
AGENDA • GitHub Workflow • Branch • Commit • Pull
Request • Discuss and Review • Merge and Deploy • Let’s Do it For Reals: • <Insert Live Demo Here> • Forking • Pull Requests • Issues Let’s assume you have your Git-Fu down.
GITHUB WORKFLOW Yeah, it’s that simple.
CREATE A BRANCH git checkout -b “monocles-for-everyone”
PRO-TIP Anything on the master branch is ALWAYS deployable to
production. mmm so high-res :shipit:
ADD SOME COMMITS git commit -m “so many monocles”
PRO-TIP Write clear commit messages so that people know what
the hell you’re doing. GIT COMMIT -M “FIXED ERRORS IN THE PREVIOUS COMMIT”
OPEN A PULL REQUEST You’re well on your way to
GitHub sir-ism
PRO-TIP 1) Use ‘@mention’! 2) Use Fork/Pull model for open
source repos to notify maintainers! 3) Use Pull requests to help start a conversation with your group, if repo is shared!
FORK? ‘SPLAIN YOURSELF. A fork is an exact copy of
a repository. Use it to run experiments without screwing anything up.
FORK > BRANCH? well it depends on what you’re doing.
VS
DISCUSS AND REVIEW CODE Remember, we’re collaborating here.
PRO-TIP Pull request comments support emojis :thumbsup:
MERGE AND DEPLOY You’ve done it, sir.
PRO-TIP Secret keywords do cool stuff in commit messages: “created
landing page Closes #32” I <3 DOCS
A QUICK REVIEW Someone explain this to me.
LIVE DEMO Let’s hope this guy knows what he’s doing…