14

How can I select deleted (red) code in GitKraken?

enter image description here

DharmaTurtle
  • 6,858
  • 6
  • 38
  • 52

2 Answers2

21

You can't select it if you're in Hunk or Inline views. However, you can select it in Split view.

enter image description here

If you want to copy a specific deleted line, or all deleted lines in a hunk, you can simply right click it:

enter image description here

DharmaTurtle
  • 6,858
  • 6
  • 38
  • 52
1

There is an open request to add this feature in the Hunk view: https://feedback.gitkraken.com/suggestions/197805/copy-deleted-lines-from-diff-view-hunk-inline

Meanwhile, just use Split view, as mentioned above.

Mark Kahn
  • 1,130
  • 10
  • 8