From the course: Git Essential Training
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Make use of the GUI of Visual Studio Code
From the course: Git Essential Training
Make use of the GUI of Visual Studio Code
- [Instructor] Keeping track of files and changes can get confusing, especially when you're working with multiple files. That is why I want to show you how Visual Studio Code can help with this process. VS Code can visualize what is happening, allowing you to even use Git without a command line. This can be especially helpful if you're still getting comfortable with Git. Let me show you how it works. I've started by adding a line to gitStatusDemo.md. And I will also remove a line from NewName.md. So we have something to work with. Now, you may have already noticed the icon in the sidebar that now shows a number. This is the source control, which is where Visual Studio Code helps you manage Git. If we click it, we can see the files that have been modified. When I click on NewName,md. Visual Studio Code opens a side-by-side view. On the left, it shows the original file, and on the right, it highlights the changes. Any new lines appearing green, making it easier to see exactly what was…
Contents
-
-
-
-
-
-
-
(Locked)
Git status2m 24s
-
(Locked)
Edit a file and view changes4m 14s
-
(Locked)
Delete files1m 35s
-
(Locked)
Rename files2m 18s
-
(Locked)
Working with folders3m 5s
-
(Locked)
Undo your changes2m 20s
-
(Locked)
View commit history4m 5s
-
(Locked)
Go back in Git history1m 52s
-
(Locked)
Revert a commit1m 55s
-
(Locked)
Make use of the GUI of Visual Studio Code2m 51s
-
(Locked)
Challenge: Make a change and revert51s
-
(Locked)
Solution: Make a change and revert2m 22s
-
(Locked)
-
-