3 ms·
You can commit line by line within Github Desktop and its a much nicer experience IMO than doing so via CLI. Its much easier to jump around to different files a
by tomschlick 4y ago
You can commit line by line within Github Desktop and its a much nicer experience IMO than doing so via CLI. Its much easier to jump around to different files and commit related line changes in a bigger PR than jumping in and out of the patch command.
- Symbiote 4y agogit gui which you probably already have if you use Linux also has this functionality.
- tomschlick 4y agoIt does, but github desktop is way better looking and has deeper integration into github prs, status checks, etc.
- devanl 4y agoIt's been a while since I've tolerated the git gui interface, but when I used to use it, the line-to-chunk logic would regularly fail on short 2-3 line spans. There's a stackoverflow discussion [1] that suggests it was fixed in 2018, but for many years it was a terrible experience that pushed me to use other frontends just for reliable partial staging. 1: https://stackoverflow.com/questions/58133092/git-gui-error-failed-to-stage-selected-line-patch-does-not-apply https://stackoverflow.com/questions/58133092/git-gui-error-f...