logoalt Hacker News

etermyesterday at 3:04 PM2 repliesview on HN

What does that do, add already tracked files only?


Replies

jdpageyesterday at 3:07 PM

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.

show 1 reply
matijsyesterday at 7:51 PM

That would be `git add -u/--update`