4 ms·
How do you do partial file commits with the CLI? E.g., commit one hunk in a file but not another? (Theoretically, you can do this with `git add -p`, but I’d say
by robenkleene 6y ago
How do you do partial file commits with the CLI? E.g., commit one hunk in a file but not another? (Theoretically, you can do this with `git add -p`, but I’d say that’s a comparable downgrade from a GUI like Magit to using `ed` as a text editor is today.)
It’s also just silly to view a multi-file diff, which is hierarchal (File > Changes) just as a flat terminal dump. It's fine for quick diffs that follow a simple pattern, but I wouldn't want to review a complex diff that way.