Keyboard shortcuts for staging lines of file
I would like to be able to use keyboard shortcuts to stage and unstage individual lines.
This also relates to other suggestions:
Copy deleted lines from Diff View (https://feedback.gitkraken.com/suggestions/197805/copy-deleted-lines-from-diff-view-hunk-inline)
to be able to even place the cursor on a deleted line for staging
Select mutiple lines at once in diff view (https://feedback.gitkraken.com/suggestions/195160/select-mutiple-lines-at-once-in-diff-view)
to be able to stage multiple lines at once, e.g. selected with shift+arrow-keys
Comments: 3
-
29 Aug, '21
Vladislav JavadovI think Ctrl+arrow keys is better, like in WinMerge. Shift+arrows is for selection of text.
-
06 Dec, '21
ErrorOn MergedIf there are a lot of lines to stage intermixed with lines that I don't want to stage, then it is quite tedious to right-click and select 'stage line' over and over. A shortcut key would be great.
Secondary to this and somewhat related, the two commands 'discard line' and 'stage line' should not right next to each other. It is very dangerous to have diametrically opposed actions just a few clicks apart, especially when one of them would result in loss of data. -
09 Dec, '21
Jonathan Admin"Add keyboard shortcut key for 'stage line(s)'" (suggested by ErrorOn on 2021-12-06), including upvotes (1) and comments (0), was merged into this suggestion.