Git · Junior · Question 6 of 75

Which command shows modified, staged and untracked files?

Explanation

git status compares the working tree, the index and the last commit. git log lists commits, and git show displays one commit.

Further reading

Problem with a question

Git · Junior · question 6

Test yourself

Take the Git · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz