Skip to content

Instantly share code, notes, and snippets.

@0x4a
Created March 10, 2014 17:22
Show Gist options
  • Save 0x4a/9469655 to your computer and use it in GitHub Desktop.
Save 0x4a/9469655 to your computer and use it in GitHub Desktop.
list all files from .gitignore #git #cli
#https://stackoverflow.com/questions/466764/show-ignored-files-in-git/ two different ways
git ls-files --others -i --exclude-standard >> out.txt
git clean -ndX >> out.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment