Better HN
topnewbestaskshowjobs
Log inSign up

mjcheetham

2 karma · joined Aug 13, 2021 (5y ago) · 1 submissions

Submissions

comment 5y ago · link · parent

GCM Core does support multiple users with GitHub remotes. You have to put the username in the remote URL, for example:

https://alice@github.com/owner/repo

GCM will store credentials for "alice" only. Repositories that have remote URLs with a different "user@" will use different credentials.

Remote URLs without a "user@" part at all (like "https://github.com/owner/repo") are treated like the "default" user for GitHub.com, rather than a specific one.