1

I've just done a git add -i on a file with a lot of changes, and realised I accidentally staged one hunk that I didn't intend to.

How can I un-stage this hunk, without having to repeat the entire add and reselect all of the other hunks that I did want to commit?

user234461
  • 1,133
  • 12
  • 29

0 Answers0