git-check-*: use standard multiple path conventions (#11985)

This commit is contained in:
Reinhart Previano Koentjoro
2024-01-03 15:40:31 +07:00
committed by GitHub
parent 79dea90876
commit 4bbfbd300c
8 changed files with 23 additions and 23 deletions

View File

@@ -11,10 +11,10 @@
`git check-attr {{attribute}} {{path/to/file}}`
- Check the value of a specific attribute on files:
- Check the values of all attributes on specific files:
`git check-attr --all {{path/to/file1}} {{path/to/file2}}`
`git check-attr --all {{path/to/file1 path/to/file2 ...}}`
- Check the value of a specific attribute on one or more files:
`git check-attr {{attribute}} {{path/to/file1}} {{path/to/file2}}`
`git check-attr {{attribute}} {{path/to/file1 path/to/file2 ...}}`

View File

@@ -9,7 +9,7 @@
- Check whether multiple files or directories are ignored:
`git check-ignore {{path/to/file}} {{path/to/directory}}`
`git check-ignore {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Use pathnames, one per line, from `stdin`:
@@ -17,8 +17,8 @@
- Do not check the index (used to debug why paths were tracked and not ignored):
`git check-ignore --no-index {{path/to/files_or_directories}}`
`git check-ignore --no-index {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Include details about the matching pattern for each path:
`git check-ignore --verbose {{path/to/files_or_directories}}`
`git check-ignore --verbose {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`