Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



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

Post New Answer

More Git Interview Questions

What does commit object contain?

1 Answers  


What is Subgit? Why to use Subgit?

1 Answers  


What is the difference between git vs svn

1 Answers  


Name some git commands and also explain their functions?

1 Answers  


How to revert previous commit in git?

1 Answers  


What is git Is-tree?

1 Answers  


How can you create a repository in Git?

1 Answers  


What does ‘hooks’ consist of in git?

1 Answers  


Describe the branching strategies you have used.

1 Answers  


What is ‘head’ in git and how many heads can be created in a repository?

1 Answers  


What is a “conflict” in git and how is it resolved?

1 Answers  


What is the difference between git and github?

1 Answers  


Categories