reverting changes
From: Thiago Farina <hidden>
Date: 2016-06-15 22:56:41
From: Thiago Farina <hidden>
Date: 2016-06-15 22:56:41
Hi, When I want to revert a change to a file that is already committed what is the best way? The way I found was: $ git checkout HEAD /path/to/my/file $ git reset HEAD /path/to/my/file Is this the canonical/best way or there other (easier-faster) ways? Thanks,