What is the difference between the ‘git diff ’and ‘git status’?
Answer / Zainul Abdin
The 'git diff' command shows the differences between two commits, a commit and the working directory, or between two branches. The 'git status' command shows the changes in the working directory that haven't been added to the index yet.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does commit object contain?
What is Subgit? Why to use Subgit?
What is the difference between git vs svn
Name some git commands and also explain their functions?
How to revert previous commit in git?
What is git Is-tree?
How can you create a repository in Git?
What does ‘hooks’ consist of in git?
Describe the branching strategies you have used.
What is ‘head’ in git and how many heads can be created in a repository?
What is a “conflict” in git and how is it resolved?
What is the difference between git and github?