emu-squash(1)

NAME
emu-squash - Merge snapshots

SYNOPSIS
emu squash [<options>] <sink>:<snapshot> ...

DESCRIPTION
Merge multiple snapshots into a new head snapshot.

The format for specifying the snapshot to preserve is in the form <sink>:<snapshot>. The <snapshot> value is the 40 digit snapshot ID, and can be obtained from 'emu log'.

OPTIONS

-d --dry-run
    Perform a trial run with no changes made.

-f --force
    Force squash the sink, ignoring any concurrency locks on the sink.

-S <dir> --source-dir <dir>
    Specify the directory to use as the source. Defaults to `.'.

-v --verbose
    Increase verbosity.

--version
    Show version information and quit.

-h --help
    Show this help and quit.

EXAMPLES

Squash the sink `origin', leaving only the most recent snapshot:
    emu squash origin:HEAD

Squash the sink into a specific snapshot:
    emu squash origin:53b1e624ccedee864cbba76563522be43360ded5

Squash the sink `origin' into a new merge snapshot:
    emu squash origin:HEAD --merge

EMU
Part of the emu (1) suite

AUTHOR
Chris Cummins <chrisc.101@gmail.com>

SEE ALSO
emu (1)