Skip to content
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

add a stop, abort, or similar command #189

Open
jacob-keller opened this issue Mar 29, 2022 · 5 comments
Open

add a stop, abort, or similar command #189

jacob-keller opened this issue Mar 29, 2022 · 5 comments

Comments

@jacob-keller
Copy link

git rebase and git merge both have "--abort" and "--quit" options for stopping a merge. The git imerge tool does not seem to have a similar option or command.

It would be nice if the tool had an analagous way to say "give up for now". It would also help to have documentation that shows how to resume a merge you stopped earlier.

@jacob-keller
Copy link
Author

It seems like I can do a "git merge --abort" or "git merge --quit" but it would be good if imerge had this as a command.

@waldyrious
Copy link
Contributor

It would also help to have documentation that shows how to resume a merge you stopped earlier.

You can find that here: https://github.com/mhagger/git-imerge#suspendingresuming

That section also mentions how to abort an imerge, although I agree it could be made more convenient and straightforward.

@mhagger
Copy link
Owner

mhagger commented Mar 29, 2022

I use git imerge remove. But this leaves you in a detached-HEAD state, so you have to follow it up with git checkout SOMEBRANCH. It would be nice if this were a single step, like git imerge abort, though then imerge would have to decide what branch to return you to. I don't remember if it already records that.

@waldyrious
Copy link
Contributor

Oh, by the way, this seems to be a duplicate of #123. WDYT, @jacob-keller?

@jacob-keller
Copy link
Author

Yep that looks like a duplicate.

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

No branches or pull requests

3 participants