Selectively revert or checkout changes to a file in Git?

With git version >= 1.7.1 I can

git checkout -p

I am not sure when this feature was introduced.

Leave a Comment