Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/git-check-attr Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# git check-attr
> For every pathname, list if each attribute is unspecified, set, or unset as a gitattribute on that pathname.
> More information: <https://git-scm.com/docs/git-check-attr>.
- Check the values of all attributes on a file:
`git check-attr --all {{path/to/file}}`
- Check the value of a specific attribute on a file:
`git check-attr {{attribute}} {{path/to/file}}`
- Check the values of all attributes on specific files:
`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 ...}}`