Skip to content

Instantly share code, notes, and snippets.

@esebastian
Last active August 29, 2015 13:59
Show Gist options
  • Save esebastian/10623877 to your computer and use it in GitHub Desktop.
Save esebastian/10623877 to your computer and use it in GitHub Desktop.
Get the list of not yet committed non binary files in a repo
git status -sb | awk '{ print $2 }' | sed -e '1d' | xargs perl -le 'for (@ARGV) { print if -f && -T }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment