3 ms·
Open the diff, select the lines, right click, "stage selected lines".
by pault 5y ago
Open the diff, select the lines, right click, "stage selected lines".
- submeta 5y agoBut how do you select lines / changes spread all over the file? Doesn‘t work via Shift or Command click.
- pault 5y agoActually it might require the gitlens extension. It's very well integrated and I've been using it for so long I don't know where one ends and the other begins. Regardless, if you open the diff view, the right hand side is editable and you can make selections like any other view.
- pitaj 5y agoYou can either do it multiple times (my preference), or you can use Alt for multiple selections.