Skip to content

Instantly share code, notes, and snippets.

@nelsonsar
Created July 11, 2013 14:55
Show Gist options
  • Save nelsonsar/5976148 to your computer and use it in GitHub Desktop.
Save nelsonsar/5976148 to your computer and use it in GitHub Desktop.
Making git diff for the same file but in different branches
git diff $FIRST_BRANCH_NAME:$FILE_NAME $SECOND_BRANCH_NAME:$FILE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment