Forrest logo
back to context overview

git-check-ignore

List of commands for git-check-ignore:

  • git-check-ignore:tldr:050b8 git-check-ignore: Include details about the matching pattern for each path.
    $ git check-ignore --verbose ${filenames_or_directories}
    try on your machine
    explain this command
  • git-check-ignore:tldr:4a5b3 git-check-ignore: Check whether a file or directory is ignored.
    $ git check-ignore ${filename_or_directory}
    try on your machine
    explain this command
  • git-check-ignore:tldr:83c32 git-check-ignore: Use pathnames, one per line, from `stdin`.
    $ git check-ignore --stdin < ${filename_list}
    try on your machine
    explain this command
  • git-check-ignore:tldr:d8f65 git-check-ignore: Do not check the index (used to debug why paths were tracked and not ignored).
    $ git check-ignore --no-index ${filenames_or_directories}
    try on your machine
    explain this command
  • git-check-ignore:tldr:fafe9 git-check-ignore: Check whether multiple files or directories are ignored.
    $ git check-ignore ${filename} ${path-to-directory}
    try on your machine
    explain this command
back to context overview