WHAT IS GIT?
WHAT IS GITHUB?
WHY DO WE USE VERSION CONTROL?
ROLES
GITHUB FEATURES
BUS FACTOR
ROLES
PROJECT MANAGER /
SCRUM MASTER
REPO OWNER /
SINGLE SOURCE OF TRUTH
ROLES
EVERYONE CODES!
GITHUB FEATURES
BUS FACTOR
How many people could get hit by a bus and the project would be able to live on?
Hint: A bus factor of 1 is bad.
STEP 1
REPO OWNER
EVERYONE ELSE
create local repo
get initial commit in
fork after initial commit
DO NOT FORGET .gitignore
STEP 2
REPO OWNER
EVERYONE ELSE
Clone down
Add upstream remote that points to repo owners GH repo
Add at least 1 other person as contributor to repo
STEP 3
REPO OWNER
EVERYONE ELSE
CHECKOUT BRANCH AND DO WERK
CHECKOUT BRANCH AND DO WERK
STEP 4
REPO OWNER
EVERYONE ELSE
Push local branch to repo
Push local branch to origin
STEP 5
REPO OWNER
EVERYONE ELSE
Submit PR to master
Submit PR to upstream repo
STEP 6
REPO OWNER
EVERYONE ELSE
Merge PRs
FETCH / MERGE || PULL to local master & branch you're presently working on.
FETCH / MERGE || PULL to local master & branch you're presently working on.
Don't forget to occasionally push to GH origin master
STEP 7
REPO OWNER
EVERYONE ELSE
REPEAT STEPS 3-6
REPEAT STEPS 3-6
Let's go do this!
You have 20 minutes.
Each person creates a repo with a Readme.md
Each person fork & clones other person's repo.
Submit a PR on the repo.
Merge the PR.
Get local repo up to date
#realtalk
Merge conflicts happen.
Merge conflicts are avoidable most of the time.
They aren't THAT miserable to handle.
Don't be upset with whoever caused it.
Don't abandon the repo owner to deal with it alone.
I need three volunteers!
Tips for Avoiding Conflicts