DELAPARRA
Index
Color
NL
Category: Git commands

git status

Explained by Updated

What is git status?

git status: Show which files are modified, staged, or untracked. git status shows the state of your working folder: which files are modified, which are staged for the next commit, which are new and untracked, and how your branch compares to its remote. Run it often. Before committing, before switching branches, before pulling, and whenever you are unsure what Git is about to do. It also suggests the commands to undo or continue in the current situation, such as during a merge or rebase.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about git status

What should you keep in mind with git status?

git status -s gives a compact two-column view, which is easier to scan when many files changed. If git status shows files you never want to commit, such as editor settings or logs, add them to .gitignore instead of skipping them by hand every time.

At a glance

CategoryGit commands
Explained by
Updated

More Git commands terms

All terms starting with G

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.