From the course: Source Code Control in .NET with Git Using SourceTree

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

CherryPick

CherryPick

From the course: Source Code Control in .NET with Git Using SourceTree

Start my 1-month free trial

CherryPick

- [Instructor] User one wants to extend the calculator. But he wants to do that on a feature branch just to make sure that everything works the way he expects. And then he'll merge it back into the main master branch. To do that, User One is going to create another feature branch. So we'll go to Master, we'll say Branch, and we're going to call this new branch Calculator Extended. We'll take that off the latest check in. And we will check out the new branch. Let's go ahead and create the branch. Now we are on Calculator Extended and you can see that that is the current branch. And let's go ahead and make a change. What we'll do is add the modulus operator to go with our integer division. We will say Public Int Modulus. And that will take Int Left. And Int Right. And we'll say Return, Left, Modulus Right. To see that that works, we'll got to Runner. Once again we will do a little bit of IDE refactoring by copying and pasting. Copy this line. Drop it in. And say the Modulus of 20 and…

Contents