class Git::Commands::Stash::Create
Create a stash commit without storing it in refs/stash
This is a plumbing command used to create a stash commit object without actually storing it in the stash reflog. It’s useful for scripts that need to create stash commits programmatically.
The command creates a stash commit and outputs its SHA, but does not update refs/stash. Use {Store} to store the commit in the stash reflog.
@example Create a stash commit
Git::Commands::Stash::Create.new(execution_context).call
@example Create a stash commit with a message
Git::Commands::Stash::Create.new(execution_context).call('WIP: my changes')
@note ‘arguments` block audited against git-scm.com/docs/git-stash/2.53.0
@see Git::Commands::Stash Git::Commands::Stash for usage examples
@see git-scm.com/docs/git-stash git-stash documentation
@api private