Closed Lonli-Lokli closed 3 months ago
Okay, I didn't know there is this difference when you are selecting multiple commits.
So in my case, assuming that there are 10 branches with active work and each branch has 10 commits, I have to select my commits with Ctrl press, as with Shift pressed you are selecting all the commits, even when they are in different branches.
So in my case, assuming that there are 10 branches with active work and each branch has 10 commits, I have to select my commits with Ctrl press, as with Shift pressed you are selecting all the commits, even when they are in different branches.
Right. Or press Ctrl+Shift+A
to set filter on the active branch and make the commit list flat.
Can you clarify then the purpose of those Quick actions?
You you need to reword a commit, you can IR to the parent and set the action as 'Reword or you can select 'Reword' which does the same. Likewise for Edit, Squash, etc.
When I am selecting Interactive Rabse quick actions, there are several -
Reword...
,Edit...
,Squash into Parent..
,Fixup into Parent...
,Drop...
.I usually use Interactive Rebase option on feature branch to collapse all commits into single on, then rebasing it on top. I was trying to use this feature action to fixup all feature branch commits into one, but it seems like current behavious is very strangee - it change just onee commit an also add parent commit to the tree.
I would like to have an ability to apply samee action (Fixup/Squash) to all the commits in the rang {selected commit via right click}-{last commit in the branch} and select action (fixup/squash) to all of them instead of default Pick