grgit-status

Name

grgit-status - Show the working tree status

Synopsis

grgit.status()

Description

Displays paths that have differences between the index file and the current HEAD commit, paths that have differences between the working tree and the index file, and paths in the working tree that are not tracked by Git (and are not ignored by gitignore). The first are what you would commit by running commit; the second and third are what you could commit by running add before running commit.

Returns a Status instance detailing the paths that differ.

Options

None

Examples