3 ms·Alternately: git add file git reset -p fileby tczMUFlmoNk 2y agoAlternately: git add file git reset -p file