KEMBAR78
Introduction to GitHub | PDF
Code Collaboration
an introduction to git and github
Agenda
● Introduction to Git
● Introduction to GitHub
● Introduction to GitHub Flow
● Hands-on Lab
Introduction to Git
● Version Control System
● Feature Control System
● Developer 911
● Local
Introduction to Git
● Repository
● Branch
● Commits
● Pull Requests
● Collaborators
Introduction to GitHub
● Git on the Cloud
● Collaborative - Work with your team!
● Code Review
● Become famous
● Remote
Introduction to GitHub - Why?
● Easy
● Redundant
● De-facto Standard
● Again, Collaborative
GitHub Flow - Create a Branch
GitHub Flow - Add Commits
GitHub Flow - Open a pull request
GitHub Flow - Discuss and Review your code
GitHub Flow - Deploy / Test
GitHub Flow - Merge
Hands-on
● Setup Account
● Install GitHub Desktop
● Create repo
● Create branch
● Push / Sync
● Collaborate
○ master branch protection
○ add your team members
● Conflict resolution
● Tada!
Things to remember
● Add comments wherever possible
● Always add a good commit message
● Sync your code with remote often (as much as possible)
● Do a code review and test before merging to master branch
● Git is not almighty! Breakdown the project into smaller chunk to avoid code
conflict
Sources
https://guides.github.com/introduction/flow/

Introduction to GitHub