0 votes
17 views

What is git diff command? How is it different from git status?

in Technology by (191k points)

1 Answer

0 votes
Git diff is a multi-use command that can be executed to show the differences between two arbitrary commits, changes between the working tree & a commit, changes between working tree & an index, changes between two files, changes between index & a tree, etc.

The git status command is used to inspect a repository. It shows the state of the working directory and staging area. It will list down the files that have been staged, which haven’t been staged and the files that are untracked.
by (191k points)

Related questions

0 votes
1 answer 15 views
0 votes
1 answer 19 views
0 votes
1 answer 16 views
0 votes
1 answer 18 views
0 votes
1 answer 14 views
0 votes
1 answer 26 views
0 votes
1 answer 22 views
0 votes
1 answer 16 views
16 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 17 views
17 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 19 views
0 votes
1 answer 14 views
14 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 15 views
15 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 22 views
22 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 22 views
22 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 18 views
0 votes
1 answer 24 views
24 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 18 views
18 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 16 views
16 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 16 views
0 votes
1 answer 18 views
18 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 21 views
21 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 11 views
11 views asked Dec 8, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 17 views
17 views asked Nov 3, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 35 views
...