Menu

What is the function of git diff in git?

  • git diff shows the changes in the following functions.
    • git diff shows the changes in the following functions.
    • Changes working tree and the index or a tree.
    • Changes between commits.
    • Changes between commit and a working tree.
    • Changes between 2 files on a disk.
    • Changes between 2 blob objects.