Skip to content

Instantly share code, notes, and snippets.

@fpaupier
Forked from bradurani/git-diff-single-file
Created December 16, 2020 07:09
Show Gist options
  • Select an option

  • Save fpaupier/433f36e010c338ca57067f99d6e76c48 to your computer and use it in GitHub Desktop.

Select an option

Save fpaupier/433f36e010c338ca57067f99d6e76c48 to your computer and use it in GitHub Desktop.
Git diff single file
git diff <branch>:<dir>/<filename> <branch>:<div>/<filename>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment