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
This is GitHub in CS50
Search
CS50
March 11, 2017
Education
1
150
This is GitHub in CS50
CS50
March 11, 2017
Tweet
Share
More Decks by CS50
See All by CS50
Scaling CS50: Building Learning Communities around the World
cs50
1
58
Technology We Can’t Live Without!, revisited
cs50
0
210
A Web-Based IDE for Teaching with Any Language 2017
cs50
0
39
A Web-Based IDE for Teaching with Any Language 2016
cs50
0
34
Building CS50 on GitHub
cs50
1
520
Things We Do That You Can Do Too
cs50
1
790
Birds of a Feather Who'd Like to Share Software Together
cs50
2
250
CS50 Educator Workshop June 2017
cs50
2
210
This is CS50x.ni
cs50
1
130
Other Decks in Education
See All in Education
AWS Well-Architected Labを活用してつよつよAWSエンジニアになろう!!! #jawsug_tokyo
masakiokuda
0
280
Генезис казарменной архитектуры
pnuslide
0
180
Algo de fontes de alimentación
irocho
1
480
1216
cbtlibrary
0
270
COO's Perspective : Code for Everyone 2020-2024
codeforeveryone
0
250
Ch2_-_Partie_3.pdf
bernhardsvt
0
120
中野区ミライ★ライター倶楽部presents『MINT』
nakamuramikumirai
0
440
2024年度秋学期 統計学 第6回 データの関係を知る(1)ー相関関係 (2024. 10. 30)
akiraasano
PRO
0
110
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
4
15k
Mathematics used in cryptography around us
herumi
2
710
Nodiレクチャー 「CGと数学」講義資料 2024/11/19
masatatsu
1
290
TP5_-_UV.pdf
bernhardsvt
0
130
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Code Review Best Practice
trishagee
65
17k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
11
900
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Making Projects Easy
brettharned
116
6k
Typedesign – Prime Four
hannesfritz
40
2.5k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
The Language of Interfaces
destraynor
156
24k
Transcript
This is GitHub in CS50 David J. Malan
[email protected]
cs50.ly/sigcse-github
History • Homegrown tool
History • Homegrown tool • Other homegrown tool
History • Homegrown tool • Other homegrown tool • …
History • Homegrown tool • Other homegrown tool • …
• GitHub
History • Homegrown tool • Other homegrown tool • …
• GitHub • GitHub + homegrown tool
History • Homegrown tool • Other homegrown tool • …
• GitHub • GitHub + homegrown tool • GitHub + Travis
None
Features • UI for code review • Permissions model ◦
CS50 ◦ CS50x ◦ CS50 AP • Post-commit hooks • ...
None
None
APIs • https://developer.github.com/v3/orgs/ • https://developer.github.com/v3/repos/
Implementation Details • 1 repo per student in course's organization
◦ Student has write privilege ◦ Teaching Fellow has read privilege ◦ Instructor has admin privilege • 1 branch per problem
None
Implementation Details • Pull requests • Branches for version control
• Tagged orphaned branches for code reviews
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Branch for version control • git add --all • git
commit --allow-empty --message • git push origin refs/heads/hello
Tagged orphaned branch for code review • git checkout --orphan
• git add --all • git commit --allow-empty --message 20170311T184500Z • git tag hello@20170311T184500Z • git push origin refs/tags/hello@20170311T184500Z
github.com/cs50/submit50
None
None
None
None
None
None
None
None
None
None
c9.io
None
None
Courses' (Static) Websites • help.github.com/pages • hyde.getpoole.com
Courses' Documents • github.com/cs50/docs • help.github.com/pages • github.com/asciidoctor/jekyll-asciidoc
This was GitHub in CS50 David J. Malan
[email protected]
cs50.ly/sigcse-github