class Git::Commands::Status

Implements the โ€˜git status` command

Shows the working tree status โ€” the differences between the index and the current HEAD commit, and between the working directory and the index.

@example Show working tree status

status = Git::Commands::Status.new(execution_context)
status.call

@example Show short-format status

status = Git::Commands::Status.new(execution_context)
status.call(short: true)

@example Show status in porcelain v2 format

status = Git::Commands::Status.new(execution_context)
status.call(porcelain: 'v2')

@example Show status for specific paths

status = Git::Commands::Status.new(execution_context)
status.call('lib/', 'spec/')

@example Show all untracked files

status = Git::Commands::Status.new(execution_context)
status.call(untracked_files: 'all')

@note โ€˜arguments` block audited against

https://git-scm.com/docs/git-status/2.53.0

@see git-scm.com/docs/git-status git-status

@see Git::Commands

@api private