Exclude directory when using git diff

Exclude directory when using git diff

git diff is one of the frequently used git commands during software development. It shows you the changes you made locally from the last commit. However, sometimes you don’t want to see the diff from specific directories. For example in

× WhatsApp