Hacker News new | ask | show | jobs
by tczMUFlmoNk 816 days ago
Alternately:

    git add file
    git reset -p file