Dev News Daily ENDE

GitHub Desktop 3.7.0 lets you sign in with several accounts on the same host

GitHub said on 19 November that GitHub Desktop now supports more than one signed-in account on the same host, whether that host is GitHub.com, GitHub Enterprise Server or GHE.com. The changelog calls it one of the features the Desktop community asked for most, and it ships in GitHub Desktop 3.7.0.

There is no fixed limit on accounts per host. Every repository can be associated with one account, and cloning, publishing and other Git operations then use that account's credentials. When a repository being added or cloned is reachable from several signed-in accounts, Desktop asks which one to use; when only one account can reach it, Desktop picks it itself. The association can be changed later from the repository settings or from the context menu in the repository list.

Repositories that already exist are moved automatically to the account that was being used for them, so people with a single account per host see no change. New accounts are added under Settings or Options, Accounts.

GitHub Desktop 3.7.0 lets you sign in with several accounts on the same host
GitHub Desktop 3.7.0 lets you sign in with several accounts on the same host — Dev News Daily

Why it matters

Developers who keep a work and a personal identity on GitHub.com, or a contractor account next to an employee one, have had to juggle credential helpers or separate tools to keep commits and pushes under the right name. Tying the account to the repository moves that choice to the place where mistakes used to happen.