From the course: GitHub Quick Tips

Unlock this course with a free trial

Join today to access over 24,200 courses taught by industry experts.

Compare two branches

Compare two branches - GitHub Tutorial

From the course: GitHub Quick Tips

Compare two branches

- [Ray] GitHub has a really interesting feature that allows you to compare two branches visually. So let's take a look at this project which corresponds with one of our courses and you'll see that it has a bunch of branches. Now these branches corresponds to different videos in the course. So if you see a branch like 04_02b, this means that that branch corresponds to how the code looked in the fourth chapter and the second video of this course. The b means that it's at the beginning of the video and the e means that it's at the end. We can compare these two branches by adding some additional things to this URL. So I'm going to add a slash compare here and then I can type in a couple of branches that I want to compare. So I'll do 04_02b, then I'll type in two periods, and type in 04_02e and then I'll hit return. This'll take me to this visual comparison tool that shows me that between the beginning and the ending of the…

Contents