Fork me on GitHub
#emacs
<
2022-01-19
>
Drew Verlee21:01:10

Is it possible to squash all my commits on a branch into one coomit then rebase using the rebase command entry point or is that two actions?

Drew Verlee21:01:34

i want this because in this case, i only want to resolve the conflicts between the branches once, not for each commit in the branch.

winsome22:01:13

I think that would be two separate actions

winsome22:01:17

squash first, then rebase

practicalli-johnny22:01:51

@drewverlee In the Magit rebase menu, there is an --autosquash option. I wonder if this does what you are looking for? Perhaps this https://fle.github.io/git-tip-keep-your-branch-clean-with-fixup-and-autosquash.html is interesting

Drew Verlee22:01:58

it doesn't seem to

Drew Verlee22:01:13

i still get asked to resolve every single commit

Drew Verlee22:01:27

against the rebase target

Drew Verlee22:01:59

the magit rebase experience leaves a lot to be desired.

Drew Verlee22:01:29

e.g the 3 way merge panel can just get stuck in some buffer state where you want to save it but it gives you no clue how.

Drew Verlee22:01:50

oh im sure there is a way, the problem is the interface doesn't lead you at all. You can also order a pizza in the same place

lambduhhh23:01:14

@elle pulling you in here

🎉 1
🙏 1
pizzaspin 1