keith / git-pile

Stacked diff support for GitHub workflows
MIT License
146 stars 11 forks source link

Add --autostash to git updatepr #50

Closed keith closed 1 year ago

keith commented 1 year ago

If you have other changes this can fail with:

$ git updatepr HEAD~1
error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.

I never saw this because I globally have rebase.autostash true in my gitconfig.