This might be a linux issue, as I have only tried GD on Ubuntu.
I often use my graphical GIT client in conjunction with the command line client. Therefore I use the staging area between them, but it doesn't seem like GitHub Desktop uses the staging area.
git status
from command line)Changes selected in GitHub Desktop show up as selected for commit in alternative client.
Selected changes in GitHub Desktop does not sync with staging.
It鈥檚 the same across all platforms by design, see the replies to #4475. 馃檪
@beruic Yep, basically what @JordanMussi said. We want to ensure we interop nicely with other tools, but keeping the checkbox state in sync with the git index is really tricky in some areas like partial commits, which is an important part of Desktop.
I find that odd since SourceTree and GitKraken both do this. I'd suspect they parse the output of git diff --cached
and emulate or use git add -p
.
Will you at least make Desktop remember the state when it is shut down, so you can shut it down and continue working on a commit after opening it up again?
Most helpful comment
I find that odd since SourceTree and GitKraken both do this. I'd suspect they parse the output of
git diff --cached
and emulate or usegit add -p
.Will you at least make Desktop remember the state when it is shut down, so you can shut it down and continue working on a commit after opening it up again?