From the course: Programming Foundations: Version Control with Git (2020)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Working with branches
From the course: Programming Foundations: Version Control with Git (2020)
Working with branches
- [Instructor] In previous lessons, we've talked about the advantages of using a Git branching workflow. So let's go over how to create branches with Sourcetree. We'll continue to work with the personal site project. To make a new branch, select the branch icon and give it a descriptive name. Let's say I want to make some design updates to the site. I can create a feature branch and call it redesign, or I can be even more specific and call it theme update and use it just for changes related to the visuals, like colors and fonts, but no changes to the content or functionality. The default option is to create the branch from the working copy parent, which means it'll make a copy from the master branch. You can also choose to make a branch from a specific point in the commit history by selecting specify commit. But for this demo, I'll stick with the default. Check out new branch just means it will switch to the new branch's…
Contents
-
-
-
-
-
(Locked)
Using GUIs1m 11s
-
(Locked)
Install GUI4m 52s
-
(Locked)
Working with a repository2m 45s
-
(Locked)
Adding changes and keeping up to date3m 43s
-
(Locked)
What is Git branching?1m 19s
-
(Locked)
Working with branches4m 31s
-
(Locked)
Merging branches3m 47s
-
(Locked)
Challenge: Putting it all together54s
-
(Locked)
Solution: Putting it all together2m 39s
-
(Locked)
-