Skip to content

Instantly share code, notes, and snippets.

@ihordiachenko
Created October 25, 2017 14:55
Show Gist options
  • Save ihordiachenko/817f281d2312d13c4aa8c254d264ef46 to your computer and use it in GitHub Desktop.
Save ihordiachenko/817f281d2312d13c4aa8c254d264ef46 to your computer and use it in GitHub Desktop.
Check if a given file is ignored by git
git check-ignore -v foo/bar.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment