From the course: Visual Studio: Source Control with Git and GitHub

Unlock the full course today

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

Compare differences: VS

Compare differences: VS - Visual Studio Tutorial

From the course: Visual Studio: Source Control with Git and GitHub

Start my 1-month free trial

Compare differences: VS

- The diff tool is one of those utilities that you find on most programmers computers. We use it to compare two versions of a file to see what has changed. It won't surprise you to learn that visual studio has a built in difference tool. There's also a diff command available in git. I won't show you the one in power shell, because it's a very minimalistic comparison tool, or diff tool, I think it's much better to use a graphic tool where you can show two copies of the files in separate windows, or separate panes of a window, and you can compare them line by line next to each other. Let's take a look at how to do that. Right now we're looking at Terry's commit. And remember, the way that you show the commit is by right clicking, and choose view commit details. Then you can see over here these are the files that's changed. Now I can right click on this and choose open, and that just opens the file. So I can't see…

Contents