Valid 200-901 Dumps shared by EduDump.com for Helping Passing 200-901 Exam! EduDump.com now offer the newest 200-901 exam dumps, the EduDump.com 200-901 exam questions have been updated and answers have been corrected get the newest EduDump.com 200-901 dumps with Test Engine here:
A file in a local Git repository has been updated and issued the git add . command. The git diff command has been run to compare the changes to the previous commit, but nothing shows. Which action identifies the problem?
Correct Answer: D
When you run the git add . command, the changes are moved to the staging area. The git diff command, by default, shows differences between the working directory and the last commit. Since the changes have been staged, git diff will not show any differences because it is comparing the working directory to the last commit, not the staging area. To see the changes that have been staged, you need to use the git diff --staged command, which compares the staged changes with the last commit. Reference: Pro Git Book, Chapter 2: Git Basics - Recording Changes to the Repository Git Documentation