Categories

Oct 15, 2019 in Git

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

1 Answer

Oct 15, 2019

‘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. 

Click here to read more about GIT
Click here to read more about Insurance

Related questions

Madanswer
Jul 25, 2019 in Git
Jul 25, 2019 in Git
Jul 25, 2019 in Git
...