logoalt Hacker News

jdpageyesterday at 3:07 PM2 repliesview on HN

It interactively shows you each change that would be added and lets you decide whether it should be staged or not. Down to the hunk level, so you can partially stage a file if you so choose.


Replies

etermyesterday at 5:23 PM

Oh, that's neat.

The -p presumably stands for pInteractive with a silent p :)

show 2 replies
zelphirkaltyesterday at 9:11 PM

Ah, that's what magit does by default.