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

How do you configure a git repository to run code sanity checking tools right before making commits, and preventing them if the test fails?

1 Answers  


What commands will you use to bring a new feature to the main branch?

1 Answers  


How can you create a repository in Git?

1 Answers  


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

1 Answers  


What is the use of ‘git log’?

1 Answers  


Why git and not svn?

1 Answers  


What is git fork?

1 Answers  


What are the advantages of using GIT?

1 Answers  


What is Subgit? Why to use Subgit?

1 Answers  


What is a commit message?

1 Answers  


Name a few git commands and explain their usage.

1 Answers  


How to revert previous commit in git?

1 Answers  


Categories