Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to "Discard Line" in GitKraken?

Tags:

git

gitkraken

Line can be easy staged with the plus button "Stage this line".

There are "Discard Hunk" and "Stage Hunk" symbols.

But how to "Discard Line"? Is there any shortcurt how to change the plus button right next to the line to minus button?

like image 215
mvorisek Avatar asked Dec 06 '25 19:12

mvorisek


1 Answers

you can right click on the line you would like to discard, and select 'discard this line' in the context menu that pops up.

like image 168
JoYSword Avatar answered Dec 09 '25 19:12

JoYSword



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!