Thursday, October 11, 2018

Diff same file between two different commitson the same branch

git diff HEAD~1 HEAD -- app/views/layouts/application.html.erb

This will diff the current commit with the previous commit.