Git Diff - Explained

Published: 30 December 2021
on channel: A shot of code
22,105
482

In this Git tutorial we look at how to use Git Diff against a repository. Detailing the default action taken when we run Git Diff without any parameters and which files it will compare in this scenario and examining the output that it provides for both the old and new files. We also look at how to specify files to compare based on the Hash and the Git Tag. I mention that it can be used to compare files in different branches too.

0:00 Intro
0:16 Setup
1:00 Git Diff Default
1:15 Change File so we can compare difference
1:35 Git Diff Output
2:31 Git Diff Output minus and plus denoting
4:15 Multiple Changes to file so we can compare difference


On this page of the site you can watch the video online Git Diff - Explained with a duration of hours minute second in good quality, which was uploaded by the user A shot of code 30 December 2021, share the link with friends and acquaintances, this video has already been watched 22,105 times on youtube and it was liked by 482 viewers. Enjoy your viewing!