in Git by
What is the difference between the ‘git diff ’and ‘git status’?

► Click here to show 1 Answer

0 votes

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

Learn More with Madanswer

Related questions

+1 vote
asked Jul 25, 2019 in Git by Robindeniel