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

1 Answer

0 votes
by

‘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

+1 vote
asked Jul 25, 2019 in Git by Robindeniel
+1 vote
asked Jul 25, 2019 in Git by SakshiSharma
+1 vote
asked Jul 25, 2019 in Git by SakshiSharma
+1 vote
asked Jul 25, 2019 in Git by SakshiSharma
+1 vote
asked Jul 26, 2019 in Git Slack Integration by sheetalkhandelwal
...