0 votes
19 views
What is the difference between the ‘git diff ’and ‘git status’?
in Technology by (187k points)

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. 

by (187k points)

Related questions

0 votes
1 answer 17 views
0 votes
1 answer 17 views
0 votes
1 answer 16 views
0 votes
1 answer 17 views
17 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 15 views
0 votes
1 answer 16 views
16 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 15 views
15 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 14 views
0 votes
1 answer 19 views
0 votes
1 answer 14 views
14 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 19 views
19 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 23 views
23 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 18 views
0 votes
1 answer 21 views
0 votes
1 answer 29 views
0 votes
1 answer 31 views
0 votes
1 answer 15 views
0 votes
1 answer 15 views
15 views asked Nov 4, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 22 views
22 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 18 views
18 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 16 views
16 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 21 views
21 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 21 views
21 views asked Nov 2, 2020 in Technology by JackTerrance (187k points)
0 votes
1 answer 33 views
...