-
Notifications
You must be signed in to change notification settings - Fork 63.7k
Closed
Labels
code ownersContent related to code ownersContent related to code ownerscontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamrepositoriesContent related to repositoriesContent related to repositorieswaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What changes are you suggesting?
Currently for negation, there is one mention of it in the docs:
Using
!
to negate a pattern
There should be an example showing a negation. I am struggling to figure out how to use this feature.
GitHub UI is saying "invalid pattern" for either of these:
!directory/* @some-owner
! directory/* @some-owner
I think an example would be a great way to spell out how to do negation.
Additional information
No response
Metadata
Metadata
Assignees
Labels
code ownersContent related to code ownersContent related to code ownerscontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamrepositoriesContent related to repositoriesContent related to repositorieswaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review