Support partial staging for new files
Being able to select lines to stage/unstage is a fantastic feature of Gitkraken, unfortunately this is not currently working for new files.
When a new file is created, it is immediately staged with its initial content.
- The staged file (with a plus-icon) can be unstaged entirely, but not per line
- Additional changes made to the file are unstaged (with a pencil-icon) and can be staged per line. These new lines cannot be unstaged again
If I now unstage the file (and thus merge all pending changes together with the creation of the file giving it a plus-icon), I can only restage the entire file.
Comments: 1
Oldest
•
Newest
•
Most likes
•
Fewest likes
-
13 Jan, '25
SvendKSame happens for files that were renamed + some changes. It's impossible to unstage single lines in a renamed file, as to split the changes over multiple commits for clarity. It just can't be done. I had to remove/restore the lines, saving the changes in an open Notepad...