class Git::Commands::Stash::Store

Store a commit in the stash reflog

This is a plumbing command used to store a given stash commit (created by ‘git stash create`) in the stash reflog, updating refs/stash.

This command is typically used after {Create} to actually record the stash in the reflog.

@example Store a stash commit

Git::Commands::Stash::Store.new(execution_context).call('abc123def456')

@example Store with a custom message

Git::Commands::Stash::Store.new(execution_context).call('abc123def456', message: 'WIP: feature')

@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