Skip to content

Howto remove the merge commit (diamond) using lazygit #3454

Answered by stefanhaller
suntsu42 asked this question in Q&A
Discussion options

You must be logged in to vote

This is a very good question, and I'm afraid the answer is no, there is no way in lazygit to do this currently. The reason is that lazygit insists on adding --rebase-merges to every rebase command. (Which is a good thing, I don't think we should change that.)

If we do #2849 in one way or another, this could help, it would allow users to toggle the --rebase-merges case by case. But then, if users are knowledgeable enough to know that's what they need to do, they might just as well drop down to the command line and do it there.

Or is this a situation that you encounter frequently?

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by suntsu42
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants