Hacker News new | ask | show | jobs
by john2x 4042 days ago
> stage multiple files with a region or similar

This feature has been available for some time, I believe. In magit-status, just select with region the files and then `s` to stage the highlighted files.

1 comments

It's a little un-intuitive.

Adding git-gutter to the mix will allow staging / reverting at the hunk level.

I should probably note also that in Magit status, the user has to TAB the unstaged file to be able to do region or hunk level staging.

Ideally it would be possible to do it in the buffer in question as well.

Not even git-gutter has region style staging. Hopefully it will be implemented soon. I had a crack at it but time got away from me.

Thank you for this - git-gutter looks awesome. I wasn't aware of staging hunks too so I've learned about 2 things :)