Skip to content

FR: jj squash without args can be better documented #8241

@ffyuanda

Description

@ffyuanda

Is your feature request related to a problem? Please describe.
When I first read the docs for jj squash, I needed to assume that running jj squash with no arguments implies -r @. jj squash with no argument is a very common workflow, but it is not explicitly documented, even though it's easy to guess/try.

Describe the solution you'd like
We should document what happens when running jj squash without arguments. Something like "Without any options, moves the changes from the working-copy commit to the parent revision." or "Without any options, implies '-r @' to move the changes from the working-copy commit to the parent revision."

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