Getting Started with GitHub
A Brief Introduction to Magic
git.io/GrokGit
Gist
•gist.github.com
-Use GitHub without using GitHub
-No account needed
-Syntax Highlighting
-Changelog
Distributed
Source
Controlwtf is source control?
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?
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.
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
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 !
xkcd.com/1296/
Licensed under a Creative Commons Attribution-NonCommercial 2.5 License
Git Structure
• Repository
• Commits
• History
• Branches
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
xkcd.com/1172/
Licensed under a Creative Commons Attribution-NonCommercial 2.5 License
• Fork
- Own Copy
• Pull Request
- Share Changes
GitHub Collaboration
•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
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

Getting started with GitHub

  • 1.
    Getting Started withGitHub A Brief Introduction to Magic git.io/GrokGit
  • 2.
    Gist •gist.github.com -Use GitHub withoutusing GitHub -No account needed -Syntax Highlighting -Changelog
  • 3.
  • 4.
    What is sourcecontrol? 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?
  • 5.
    What is sourcecontrol? Git allows different people to work on a project separately and then, some time later, bring all of the changes together.
  • 6.
    Why use sourcecontrol? • 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
  • 7.
    Why use sourcecontrol? • 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 !
  • 8.
    xkcd.com/1296/ Licensed under aCreative Commons Attribution-NonCommercial 2.5 License
  • 9.
    Git Structure • Repository •Commits • History • Branches
  • 10.
    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
  • 11.
    xkcd.com/1172/ Licensed under aCreative Commons Attribution-NonCommercial 2.5 License
  • 12.
    • Fork - OwnCopy • Pull Request - Share Changes GitHub Collaboration
  • 13.
    •education.github.com/pack -Five private reposfree while you are a student -Unreal Engine free while you are a student GitHub Student Developer Pack
  • 14.
    Getting Started withGitHub 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