How do you check what files are changed in your Git workspace?

Experience Level: Junior
Tags: GitSource control

Answer

To see all the changes that were done to your Git workspace and were not yet committed, use the git status command.

Simply run the following from the command-line:

git status

This displays the default long-format output. You can also try the short format running the following command:

git status -s

Comments

No Comments Yet.
Be the first to tell us what you think.
Git for beginners
Git for beginners

Are you learning Git ? Try our test we designed to help you progress faster.

Test yourself
25 Git questions that will help you to nail your job interview
25 Git questions that will help you to nail your job interview

Are you learning Git ? Try our test we designed to help you progress faster.

Test yourself