Skip to content

Instantly share code, notes, and snippets.

@addiedx44
Created May 26, 2016 15:50
Show Gist options
  • Save addiedx44/b951061019bfe74c82d6a9a3c69cd24f to your computer and use it in GitHub Desktop.
Save addiedx44/b951061019bfe74c82d6a9a3c69cd24f to your computer and use it in GitHub Desktop.
Check if $thing is tracked by git
git ls-files path/to/something --error-unmatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment