![]() ![]() I'm comparing local code to remote code and GitHub Desktop handles that for you automatically. Now, also notice that I haven't actually checked out 0203e. That is it's looking at the difference between two versions of the code. My preference is to use the split view because I like seeing both files, but it's really up to you In the background, GitHub Desktop is using Git's diff tool. GitHub is a cloud-based hosting service that lets. You can also check this option, Hide Whitespace Changes and in a code file where there were changes to tabs, or spaces, or line feeds those would now be ignored. Here is a tale of two DevOps tools: Azure DevOps and GitHub. Simply put, Git is a version control system that lets you manage and keep track of your source code history. Now, I'm seeing the pluses and minuses of both code versions, or Split. You might also be seeing it in, what's called, the unified view to switch between them click on this gear icon and choose Diff Display of Unified. And the code on the right is the other branch that I selected. The code on the left is the code of my original branch. I'll select this and then I'll click on the branch. If you can't find the branch easily, you can click up here and type the branch's name. And I see a listing of all my branches and I locate 0203e. Now I'll come back to Desktop and I'm going to go to the menu and choose Branch, Compare to Branch. Now, I'll go over to Visual Studio code and I'm opening up main.go from the practice directory in this repository. That's the beginning state of chapter two, video number three. In this example, I'll go to this repository in GitHub Desktop and I'll check out branch 0203b. ![]() To do this, start by opening up one of the branches. same place and with a single well-defined URL. GitHub Desktop makes it easy to compare code between two different branches. GitHub Compare View and its going to change the way you review code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |