Skip to content

"Warning: Cannot define an alias that overrides the built-in command 'revert'" #5701

Description

@zx8

Using 514a009


While the discussion to rename jj backout is still ongoing and no firm decisions have been made, I'm preparing for the outcome that my preferred name of jj revert is not chosen as the replacement.

To that end, I tried to alias jj backout to jj revert, and was unable to:

$ jj revert
Not a real subcommand; consider `jj backout` or `jj restore`

$ jj config set --user aliases.revert '["backout"]'

$ jj status
Warning: Cannot define an alias that overrides the built-in command 'revert'
<snip>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions