Undo File Changes with Git

One of my favorite features in modern text editors is their ability to integrate tools to format code upon every save.  When you’re working on legacy projects, however, auto-formatting can be a problem; if you open a file that you don’t explicitly change, the file may still get modified by the formatter.  This all leads […]
The post Undo File Changes with Git appeared first on David Walsh Blog.

Link: https://davidwalsh.name/git-undo