Slide 1

Slide 1 text

Getting Started with GitHub A Brief Introduction to Magic git.io/GrokGit

Slide 2

Slide 2 text

Gist •gist.github.com -Use GitHub without using GitHub -No account needed -Syntax Highlighting -Changelog

Slide 3

Slide 3 text

Distributed Source Control wtf is source control?

Slide 4

Slide 4 text

What is source control? Alice and Bob are working together on a project. They each have a copy of the project on their computers. •Alice makes a couple changes to her copy •Bob makes a change to his copy How will these changes come together?

Slide 5

Slide 5 text

What is source control? Git allows different people to work on a project separately and then, some time later, bring all of the changes together.

Slide 6

Slide 6 text

Why use source control? • Made a bad change and need to revert back to a known good state • Want to see diff between versions • Want to see how long a bug has existed • Experiment without breaking working code

Slide 7

Slide 7 text

Why use source control? • Made a bad change and need to revert back to a known good state • Want to see diff between versions • Want to see how long a bug has existed • Experiment without breaking working code Tracking changes is what Git does !

Slide 8

Slide 8 text

xkcd.com/1296/ Licensed under a Creative Commons Attribution-NonCommercial 2.5 License

Slide 9

Slide 9 text

Git Structure • Repository • Commits • History • Branches

Slide 10

Slide 10 text

Features of GitHub • Hosted Repositories - Can be public or private - Students can have up to five free private repos - Can have one contributor, or many contributors • Built in Issue Tracker - Issues ≠ Bad - @mentions - Anyone can comment on an issue - Closed issues are saved in history forever - Pull Request is a special kind of issue • Can edit files (and commit changes) directly in the web interface

Slide 11

Slide 11 text

xkcd.com/1172/ Licensed under a Creative Commons Attribution-NonCommercial 2.5 License

Slide 12

Slide 12 text

• Fork - Own Copy • Pull Request - Share Changes GitHub Collaboration

Slide 13

Slide 13 text

•education.github.com/pack -Five private repos free while you are a student -Unreal Engine free while you are a student GitHub Student Developer Pack

Slide 14

Slide 14 text

Getting Started with GitHub A Brief Introduction to Magic git.io/GrokGit Getting Started with GitHub by Pat Hawks is licensed under a
 Creative Commons Attribution 4.0 International License