Class: Git::Commands::Stash::Clear Private

Inherits:
Base
  • Object
show all
Defined in:
lib/git/commands/stash/clear.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Note:

arguments block audited against https://git-scm.com/docs/git-stash/2.53.0

Remove all stash entries

Removes all stash entries. Use with caution as this cannot be undone.

Examples:

Clear all stashes

Git::Commands::Stash::Clear.new(execution_context).call

See Also:

Instance Method Summary collapse

Methods inherited from Base

allow_exit_status, arguments, #initialize, requires_git_version, skip_version_validation

Constructor Details

This class inherits a constructor from Git::Commands::Base

Instance Method Details

#callGit::CommandLineResult

Returns the result of calling git stash clear.

Clear all stash entries

Returns:

Raises:



# File 'lib/git/commands/stash/clear.rb', line 29