Fork me on GitHub
#emacs
<
2022-01-10
>
Ted Ciafardini19:01:13

A way to run something like git add -p in Magit?

dpsutton19:01:33

that’s the stage chunks workflow?

lukasz19:01:36

I think you can do that from the diff view - you can press s when viewing a diff chunk, and only stage that

☝️ 2
💜 1
lukasz19:01:43

rather than a whole file

dpsutton19:01:01

you can also higlight individual lines to stage “subchunks”

lambdalove 3
lukasz19:01:58

ah, so that's how I got into these strange diffs 😉 good to know