uncommitΒΆ

Purpose:

Remove the last committed revision.

Usage:

bzr uncommit [LOCATION]

Options:
–dry-run

Don’t actually make changes.

-v, –verbose

Display more information.

-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:

:doc:`commit <commit-help>`

System Message: ERROR/3 (/builddir/build/BUILD/bzr-2.1.4/doc/en/user-reference/uncommit-help.txt, line 32); backlink

Unknown interpreted text role “doc”.

Previous topic

unbind

Next topic

unshelve

This Page

Quick search