Skip to content

merge: add a --autostash option #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
agrn opened this issue Oct 13, 2019 · 2 comments
Closed

merge: add a --autostash option #394

agrn opened this issue Oct 13, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@agrn
Copy link

agrn commented Oct 13, 2019

git-rebase has a --autostash option to save unstaged changes before performing a rebase, and to restore them afterwards. Perhaps it could be interesting to add the same option to git-merge. Perhaps git-stash could be libified before we get down to this?

This was brought up in a discussion with a coworker of mine, where we talked about rebase --autostash, and I naïvely said “well, merge should have it too.” I was kind of surprised to see I was wrong on that.

@agrn agrn added the enhancement New feature or request label Oct 14, 2019
@Denton-L
Copy link
Member

RFC here: https://public-inbox.org/git/[email protected]/T/#t

@Denton-L
Copy link
Member

Merged in bf10200.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants