Diff a local file with remote version in Git

Easily run the below command and get a diff version from the remote

$ git diff origin/master -- [local-path]


Ali

Get our stories delivered

From us to your inbox weekly.