Skip to content
go-libfossil Artifact [f6a8af908e]
Login

Artifact [f6a8af908e]

Artifact f6a8af908edfe0e3b08136b3bc17e07a6ec115dc134e32633f86935cf51d705e:



title: 'repo stash' weight: 320 generated: true

description: 'Stash working changes'

<!-- Generated by scripts/gen-cli-docs.sh from the libfossil --help output. Do not edit; change the help text in cli/ and run make docs-gen. -->
Usage: libfossil repo stash <command>

Stash working changes

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

Commands:
  repo stash save [flags]
    Stash working changes

  repo stash pop [flags]
    Apply top stash and drop it

  repo stash apply [<id>] [flags]
    Apply stash without dropping

  repo stash ls
    List stash entries

  repo stash drop <id>
    Remove stash entry

  repo stash clear
    Remove all stash entries

repo stash save

Usage: libfossil repo stash save [flags]

Stash working changes

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -m, --message=""     Stash message
  -d, --dir="."        Checkout directory

repo stash pop

Usage: libfossil repo stash pop [flags]

Apply top stash and drop it

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -d, --dir="."        Checkout directory

repo stash apply

Usage: libfossil repo stash apply [<id>] [flags]

Apply stash without dropping

Arguments:
  [<id>]    Stash ID to apply (default: latest)

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -d, --dir="."        Checkout directory

repo stash ls

Usage: libfossil repo stash ls

List stash entries

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

repo stash drop

Usage: libfossil repo stash drop <id>

Remove stash entry

Arguments:
  <id>    Stash ID to drop

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

repo stash clear

Usage: libfossil repo stash clear

Remove all stash entries

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output