0
What is the difference between the ‘git diff ’and ‘git status’?

Open 1 Answers 28 Views Technology
What is the difference between the ‘git diff ’and ‘git status’?

1 Answer

0

git diff ’ depicts the changes between commits, commit and working tree, etc. whereas ‘git status’ shows you the difference between the working directory and the index, it is helpful in understanding a git more comprehensively. ‘git diff’ is similar to ‘git status’, the only difference is that it shows the differences between various commits and also between the working directory and index. 

by (249k points)
...