Skip to content

Instantly share code, notes, and snippets.

@ChaelCodes
Created November 10, 2022 20:51
Show Gist options
  • Save ChaelCodes/a44e349133a3e37dfca37a2968bd7706 to your computer and use it in GitHub Desktop.
Save ChaelCodes/a44e349133a3e37dfca37a2968bd7706 to your computer and use it in GitHub Desktop.
AUTOSTASH
$ git rebase -i origin/main
error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.
$ git rebase -i --autostash origin/main
Created autostash: c4d543d
Applied autostash.
Successfully rebased and updated refs/heads/docker-test-improvements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment