In the last two posts of the "Git Basics" series, we learned how to stage changes and save/commit to Git remote repository. I hope, that was clear and easy to understand. Today we are going to see how to show the working tree status.
Let's continue learning the "git status" command today with the parameters that you need to know. Stay tuned to read more posts on Git Basics.
It also displays the paths that have differences between the working tree and the index file; the paths in the working tree that are not tracked by Git. These are the ones that you could commit by running "git add" before running "git commit".
$ git status -s
$ git status --short
$ git status -s -b
$ git status --short --branch
$ git status -long # This is the default command, when you just say "git status"
$ git status -uno
$ git status -unormal
$ git status -uall
Was this post useful? If you came to this page by searching online about “git basics” or “git tutorials”, please have a look into my other blog posts. Subscribe to the RSS feed or the email newsletter to keep yourself updated.