René's URL Explorer Experiment


Title: Add include filter for push and pull by bashgeek · Pull Request #2 · stringhive/node · GitHub

Open Graph Title: Add include filter for push and pull by bashgeek · Pull Request #2 · stringhive/node

X Title: Add include filter for push and pull by bashgeek · Pull Request #2 · stringhive/node

Description: Summary Adds include option (config + --include CLI flag) to both push and pull commands, mirroring the existing exclude logic When include patterns are set, only matching files are processed; when empty, all files pass (no change in behaviour) Include and exclude work simultaneously: a file must match an include pattern (if any) and not match any exclude pattern New isIncluded() utility in src/utils/exclude.ts alongside the existing isExcluded() include is also available in stringhive.config.ts via StringhiveConfig Test plan isIncluded unit tests: empty patterns, exact match, no match, * glob, ? wildcard, basename matching Pull: include-only filtering, glob include, config+CLI merge, combined include+exclude Push: source file skipped when not in include list, passes when matching, translation locales filtered by include, combined include+exclude All 74 tests pass (npm test)

Open Graph Description: Summary Adds include option (config + --include CLI flag) to both push and pull commands, mirroring the existing exclude logic When include patterns are set, only matching files are processed; whe...

X Description: Summary Adds include option (config + --include CLI flag) to both push and pull commands, mirroring the existing exclude logic When include patterns are set, only matching files are processed; whe...

Opengraph URL: https://github.com/stringhive/node/pull/2

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8a272aec-847f-e9a7-8fa6-b9c28eb8684f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBDC0:3990B6:5D90F1:833F93:6B04495A
html-safe-nonce47fcb9a34ff4e845e5305d21d926432485f084233cded65b5ec2c92c2426857f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREMwOjM5OTBCNjo1RDkwRjE6ODMzRjkzOjZCMDQ0OTVBIiwidmlzaXRvcl9pZCI6Ijc5MjgxMzY4ODcxNzk2OTIzNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc2576d4c60d99aa7949e95f57f77c6507367f79d76ca18c898eee8ee6edb7e01
hovercard-subject-tagpull_request:3600408707
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/stringhive/node/pull/2/files
twitter:imagehttps://avatars.githubusercontent.com/u/4669888?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4669888?s=400&v=4
og:image:altSummary Adds include option (config + --include CLI flag) to both push and pull commands, mirroring the existing exclude logic When include patterns are set, only matching files are processed; whe...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/stringhive/node git https://github.com/stringhive/node.git
octolytics-dimension-user_id279180518
octolytics-dimension-user_loginstringhive
octolytics-dimension-repository_id1224105811
octolytics-dimension-repository_nwostringhive/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1224105811
octolytics-dimension-repository_network_root_nwostringhive/node
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stringhive/node/pull/2/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstringhive%2Fnode%2Fpull%2F2%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstringhive%2Fnode%2Fpull%2F2%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=stringhive%2Fnode
Reloadhttps://github.com/stringhive/node/pull/2/files
Reloadhttps://github.com/stringhive/node/pull/2/files
Reloadhttps://github.com/stringhive/node/pull/2/files
stringhivehttps://github.com/stringhive
nodehttps://github.com/stringhive/node
Codehttps://github.com/stringhive/node
Issueshttps://github.com/stringhive/node/issues
Pull requestshttps://github.com/stringhive/node/pulls
Actionshttps://github.com/stringhive/node/actions
Projectshttps://github.com/stringhive/node/projects
Security and qualityhttps://github.com/stringhive/node/security
Insightshttps://github.com/stringhive/node/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fstringhive%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fstringhive%2Fnode%2Fissues%2Fnew%2Fchoose
bashgeekhttps://github.com/bashgeek
mainhttps://github.com/stringhive/node/tree/main
add-include-filterhttps://github.com/stringhive/node/tree/add-include-filter
Conversation 0 https://github.com/stringhive/node/pull/2
Commits 2 https://github.com/stringhive/node/pull/2/commits
Checks 2 https://github.com/stringhive/node/pull/2/checks
Files changed https://github.com/stringhive/node/pull/2/files
Please reload this pagehttps://github.com/stringhive/node/pull/2/files
Add include filter for push and pull https://github.com/stringhive/node/pull/2/files#top
Show all changes 2 commits https://github.com/stringhive/node/pull/2/files
4d5b04e Add include filter option for push and pull commands bashgeek Apr 29, 2026 https://github.com/stringhive/node/pull/2/commits/4d5b04ecc53ccb0e882c6e024986c752d299dce2
115924a Fix typecheck: omit include from Required> type bashgeek Apr 29, 2026 https://github.com/stringhive/node/pull/2/commits/115924ae2bb675e0b180b1a38d3f02385dd717aa
Clear filters https://github.com/stringhive/node/pull/2/files
Please reload this pagehttps://github.com/stringhive/node/pull/2/files
Please reload this pagehttps://github.com/stringhive/node/pull/2/files
README.md https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
stringhive.ts https://github.com/stringhive/node/pull/2/files#diff-357cfdb63545ab5c4be61ac23dfbf272548b6ace67171a023ab3283b52ca3272
pull.test.ts https://github.com/stringhive/node/pull/2/files#diff-d3ae47e38218a4614a23801fe4acf7ebba620cc3c5c53079e7c6510ae5521d63
push.test.ts https://github.com/stringhive/node/pull/2/files#diff-07b448aa416822ecb100dd133b1fce5bceb6af7fdb3e7aae8853f0b67573e199
pull.ts https://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
push.ts https://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
types.ts https://github.com/stringhive/node/pull/2/files#diff-949e6a9a52e37102f2a5a698afcaa03c668a95bea1a35f0efb0ef0cb77eb5ce3
exclude.test.ts https://github.com/stringhive/node/pull/2/files#diff-7bbf3c7ac64846c4a7dfbfcc51c5969b726b40ccc723a5e33fbc3cf6cfa6e56d
exclude.ts https://github.com/stringhive/node/pull/2/files#diff-2edc4d6b504b04c683f0c6535f818bd6f11b8c8c5cda9f2897cc7b3e121c8533
README.mdhttps://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/stringhive/node/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
bin/stringhive.tshttps://github.com/stringhive/node/pull/2/files#diff-357cfdb63545ab5c4be61ac23dfbf272548b6ace67171a023ab3283b52ca3272
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/bin/stringhive.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-357cfdb63545ab5c4be61ac23dfbf272548b6ace67171a023ab3283b52ca3272
https://github.com/stringhive/node/pull/2/files#diff-357cfdb63545ab5c4be61ac23dfbf272548b6ace67171a023ab3283b52ca3272
https://github.com/stringhive/node/pull/2/files#diff-357cfdb63545ab5c4be61ac23dfbf272548b6ace67171a023ab3283b52ca3272
https://github.com/stringhive/node/pull/2/files#diff-357cfdb63545ab5c4be61ac23dfbf272548b6ace67171a023ab3283b52ca3272
https://github.com/stringhive/node/pull/2/files#diff-357cfdb63545ab5c4be61ac23dfbf272548b6ace67171a023ab3283b52ca3272
src/commands/__tests__/pull.test.tshttps://github.com/stringhive/node/pull/2/files#diff-d3ae47e38218a4614a23801fe4acf7ebba620cc3c5c53079e7c6510ae5521d63
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/src/commands/__tests__/pull.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-d3ae47e38218a4614a23801fe4acf7ebba620cc3c5c53079e7c6510ae5521d63
https://github.com/stringhive/node/pull/2/files#diff-d3ae47e38218a4614a23801fe4acf7ebba620cc3c5c53079e7c6510ae5521d63
src/commands/__tests__/push.test.tshttps://github.com/stringhive/node/pull/2/files#diff-07b448aa416822ecb100dd133b1fce5bceb6af7fdb3e7aae8853f0b67573e199
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/src/commands/__tests__/push.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-07b448aa416822ecb100dd133b1fce5bceb6af7fdb3e7aae8853f0b67573e199
https://github.com/stringhive/node/pull/2/files#diff-07b448aa416822ecb100dd133b1fce5bceb6af7fdb3e7aae8853f0b67573e199
src/commands/pull.tshttps://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/src/commands/pull.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
https://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
https://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
https://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
https://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
https://github.com/stringhive/node/pull/2/files#diff-03b34524179e833fed0db4caa3ff584940178562f1e3f8b08a4cc30a099c152e
src/commands/push.tshttps://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/src/commands/push.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
https://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
https://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
https://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
https://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
https://github.com/stringhive/node/pull/2/files#diff-b943202791958a8cb21daa493dc465bc7b88fb56487481b3ac3ad8ecef55f9c5
src/config/types.tshttps://github.com/stringhive/node/pull/2/files#diff-949e6a9a52e37102f2a5a698afcaa03c668a95bea1a35f0efb0ef0cb77eb5ce3
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/src/config/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-949e6a9a52e37102f2a5a698afcaa03c668a95bea1a35f0efb0ef0cb77eb5ce3
https://github.com/stringhive/node/pull/2/files#diff-949e6a9a52e37102f2a5a698afcaa03c668a95bea1a35f0efb0ef0cb77eb5ce3
src/utils/__tests__/exclude.test.tshttps://github.com/stringhive/node/pull/2/files#diff-7bbf3c7ac64846c4a7dfbfcc51c5969b726b40ccc723a5e33fbc3cf6cfa6e56d
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/src/utils/__tests__/exclude.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-7bbf3c7ac64846c4a7dfbfcc51c5969b726b40ccc723a5e33fbc3cf6cfa6e56d
https://github.com/stringhive/node/pull/2/files#diff-7bbf3c7ac64846c4a7dfbfcc51c5969b726b40ccc723a5e33fbc3cf6cfa6e56d
src/utils/exclude.tshttps://github.com/stringhive/node/pull/2/files#diff-2edc4d6b504b04c683f0c6535f818bd6f11b8c8c5cda9f2897cc7b3e121c8533
View file https://github.com/stringhive/node/blob/115924ae2bb675e0b180b1a38d3f02385dd717aa/src/utils/exclude.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stringhive/node/pull/2/{{ revealButtonHref }}
https://github.com/stringhive/node/pull/2/files#diff-2edc4d6b504b04c683f0c6535f818bd6f11b8c8c5cda9f2897cc7b3e121c8533
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.