Skip to content

Instantly share code, notes, and snippets.

@eightbitraptor
Created January 23, 2012 16:10
Show Gist options
  • Save eightbitraptor/1664015 to your computer and use it in GitHub Desktop.
Save eightbitraptor/1664015 to your computer and use it in GitHub Desktop.
Comparing files and git files
diff <(find . -type f | sed -e 's/\.\///' | sort| grep -v '.git') \
<(git ls-files | grep -v '.git' | sort)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment