class Git::Commands::Add

Implements the ‘git add` command

This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.

@example Basic usage

add = Git::Commands::Add.new(execution_context)
add.call('path/to/file')
add.call('file1.rb', 'file2.rb')
add.call(all: true)

@note ‘arguments` block audited against git-scm.com/docs/git-add/2.53.0

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

@see Git::Commands

@api private