Working with branches
Introduction to GitHub Concepts
George Boorman
Curriculum Manager, DataCamp
Branches
Enable concurrent work on different parts of a project
Help reduce the risk of conflicting file versions
Main branch
How many branches?
Creating a new branch
Creating a new branch
Creating a new branch
Creating a new branch
Adding a file
Listing branches
Switching branches
Switching branches
Comparing branches
Working with branches
Branch protection rules
Rules for specific branches
Require a pull request before merging
Require that pull requests are approved before merging
Restrict who can delete a protected branch
1
Image credit: https://unsplash.com/@bluzninja
Branch protection rules
Branch protection rules
Branch protection rules
Adding rules
Require a pull request
Saving the rule
Let's practice!
Introduction to GitHub Concepts
Preparing Video For Download...