Skip to content

Instantly share code, notes, and snippets.

@preaction
Created September 7, 2017 23:55
Show Gist options
  • Select an option

  • Save preaction/6af2693fd7e4fe170ad2c8a3076c45b8 to your computer and use it in GitHub Desktop.

Select an option

Save preaction/6af2693fd7e4fe170ad2c8a3076c45b8 to your computer and use it in GitHub Desktop.
Files that were not changed
cat <(git ls-files; git diff -b -w --no-renames --name-only) | sort | uniq -c | grep '^\s*1' | awk '{ print $2 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment