Skip to content

Autostash on jit squash #55

@barrettj12

Description

@barrettj12
$ jit squash
squashing against "main" commit 4a2a9fe4ad...
Error: rebasing: error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.

exit status 1

We should use the --autostash option to avoid this:
https://adamj.eu/tech/2022/11/05/git-automatically-stash-rebase-merge/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions