uncommitΒΆ

Purpose:

Remove the last committed revision.

Usage:

bzr uncommit [LOCATION]

Options:
--dry-run

Don’t actually make changes.

-v, --verbose

Display more information.

--keep-tags

Keep tags that point to removed revisions.

-h, --help

Show help message.

-q, --quiet

Only display errors and warnings.

--usage

Show usage message and options.

--force

Say yes to all questions.

--local

Only remove the commits from the local branch when in a checkout.

-r ARG, --revision=ARG
 

See “help revisionspec” for details.

Description:

–verbose will print out what is being removed. –dry-run will go through all the motions, but not actually remove anything.

If –revision is specified, uncommit revisions to leave the branch at the specified revision. For example, “bzr uncommit -r 15” will leave the branch at revision 15.

Uncommit leaves the working tree ready for a new commit. The only change it may make is to restore any pending merges that were present before the commit.

See also:

commit

Previous topic

unbind

Next topic

unshelve

This Page