Skip to content

Home

View current status

Prints the current status of the working tree.

git status [-sb]

# Examples
git status
# On branch patch-1
# Your branch is up to date with 'origin/patch-1'.
#
# Untracked files:
#  (use "git add <file>..." to include in what will be committed)
#  30-seconds.txt
#
# nothing added to commit but untracked files present (use "git add" to track)

git status -sb
# ## patch-1...origin/patch-1
# ?? 30-seconds.txt

More like this

Start typing a keyphrase to see matching snippets.