You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is purely cosmetic, but I've found it has a rather profound user experience impact.
When determining which environment variable to use, non-github clients still get prefixed with GITHUB_PAT. When using codeberg or GitLab, generating a GITHUB_PAT_ENTERPRISE_COM is sort of misleading.
Although just cosmetic, this is often a huge point of confusion when onboarding more junior developers, who might be encountering private git authentication and their first non-GitHub service for the first time. At my place of work this is exacerbated by having both enterprise GitHub and its competitors serving different parts of the organization, adding to confusion about which services are for which purposes.
Using a more generic GIT_PAT_ENTERPRISE_COM would go a long way toward easing adoption.
For specific hosts, having fallbacks that reflect individual providers' recommendations could always remain as special cases.
Activity
Change GITHUB_PAT_ prefix to more generic GIT_PAT_ to remove confusio…
feat: accept GITCREDS_PAT_* alongside GITHUB_PAT_*
feat!: use GITCREDS_PAT_* as the canonical cache env var name
fix: name the URL and cache env var in the no-credentials error