GitHub�Genius
Presented by the Open Source Software Team
July 18th, 8-9 PM Discord VC
Launch into the vast expanse of collaborative development, exploring new frontiers and innovating together!
Self link:
acmcsuf.com/github-genius-slides�Recording:
A comprehensive guide to GitHub.
Recap
All docs: acmcsuf.com/oss-docs
Meeting notes: acmcsuf.com/meeting-notes
DM @Open Source Software for more information!
Make sure you selected the Open Source Software Role in #🆔get-roles
You will have access to all our channels
Today’s agenda
Glossary
What is GitHub
What is a GitHub repository?
A repo, short for ‘repository’, is responsible for holding all your project’s code on GitHub. This way people can easily view your code
What is a Branch?
What is a Fork?
Evan: “A fork is your own version of someone else’s repository.”
If you are not already a contributor, you cannot edit the repository directly, so you must make a fork.
What is a Commit?
Commits are…
What is a GitHub Issue?
Issues are…
What is a GitHub Pull Request?
Pull requests are…
Ex:
Maintainer’s perspective: New repo
Create new repository quick links:
Note: The .gitignore file protects against leaking sensitive data.
Maintainer’s perspective: Initial commit
Create skeleton project, push code.
Contributor’s perspective: Clone
Contributor’s perspective: Fork
Contributor’s perspective: Fork
Contributor’s perspective: Fork
Contributor’s perspective: Fork
Before we continue, make sure you have git installed.
Download Github Desktop
Contributor’s perspective: Clone
Contributor’s perspective: Clone
Clone on your first time setting up the project on this machine.
Contributor’s perspective: Contribute
Small change
Contributor’s perspective: Contribute
Contributor’s perspective: PR
Create a PR.
Contributor’s perspective: PR
Create a PR.
Contributor’s perspective: PR
Create a PR.
Contributor’s perspective: PR
Create a PR.
Contributor’s perspective: PR
Create a PR.
Contributor’s perspective: PR
Create a PR.
Contributor’s perspective: PR
Best practices.
Maintainer’s perspective
Review pull request.
Maintainer’s perspective
Review pull request.
Maintainer’s perspective
Review pull request.
Maintainer’s perspective
Review changes.
Maintainer’s perspective
Approve if it is looks good to you!
Maintainer’s perspective
Approve if it is looks good to you!
Maintainer’s perspective
Either maintainer or contributor can merge once maintainer approves changes!
Maintainer’s perspective
Maintainer’s perspective
Contributor’s perspective: Pull
Pull to make sure your local repository is up to date with the remote on GitHub each time you revisit the repository to make a new change.
GitHub Trivia
How to make a pretty readme to represent your personality?
Resources for things to add to your profile:
GitHub Trivia
Learning more about how to read GitHub, such as how to motivate yourself with stats.
GitHub Trivia
How do you prevent merge conflicts.
More GitHub features
Pop quiz
Any questions?
Q/A
#100daysofdesign��https://100daysofdesign.etok.me
Thank you for attending! 💖
Attendance form
Next�week
Go Go Go!