Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save gaurav-/42c2a5778de84e77c662 to your computer and use it in GitHub Desktop.

Select an option

Save gaurav-/42c2a5778de84e77c662 to your computer and use it in GitHub Desktop.
Extra lines from just one file in diff
diff --changed-group-format='%<' --unchanged-group-format='' file1 file2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment