Skip to content

Instantly share code, notes, and snippets.

@enorms
Created June 10, 2021 23:56
Show Gist options
  • Save enorms/661b2110c5ff213cb36a9be0d6e6c27a to your computer and use it in GitHub Desktop.
Save enorms/661b2110c5ff213cb36a9be0d6e6c27a to your computer and use it in GitHub Desktop.
compare two files not in repo
git diff --no-index path/to/file/1.txt path/to/file/2.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment