GIT-STAGE-BATCH-SIFT(1)

NAME
git-stage-batch-sift - remove already-present changes from a batch

SYNOPSIS
git-stage-batch sift --from SOURCE_BATCH --to DEST_BATCH

DESCRIPTION
sift compares a batch with the current working tree state, removes portions whose effect is already present, and writes the remaining unapplied portion to the destination batch.

If DEST_BATCH equals SOURCE_BATCH, the batch is updated in place. Otherwise the destination batch must not already exist, and the source batch is preserved.

OPTIONS

--from SOURCE_BATCH
    Read changes from SOURCE_BATCH.

--to DEST_BATCH
    Write remaining changes to DEST_BATCH.

EXAMPLES
    git-stage-batch sift --from feature --to feature-pruned
    git-stage-batch sift --from feature --to feature

SEE ALSO
git-stage-batch(1), git-stage-batch-reset(1)