Home›Industry & Policy›GitHub Desktop、1つのホストで複数アカウントに対応
GitHub Desktop now supports multiple accounts per host

GitHub Desktop、1つのホストで複数アカウントに対応GitHub Desktop now supports multiple accounts per host

元記事を読むRead original articlegithub.blog(新しいタブで開きます)(opens in a new tab)
AI 要約AI summary

GitHub Desktopで、GitHub.com、GitHub Enterprise Server、GHE.comの各ホストに複数アカウントでサインインでき、リポジトリごとに使用アカウントを紐付けられるようになった。個人用と業務用を使い分ける開発者が、認証の切り替えに悩まずに済む。

GitHub Desktop can now sign in with several accounts on one host, including GitHub.com, GitHub Enterprise Server, and GHE.com, and bind each repository to an account. Developers juggling personal and work identities no longer need to switch credentials by hand.

AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (github.blog) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (github.blog).

GitHub Desktopが、同じホストに複数のアカウントでサインインできるようになった。対象はGitHub.com、GitHub Enterprise Server、GHE.comで、Desktopのコミュニティで最も要望の多かった機能の一つと説明されている。

複数アカウントの追加

1つのホストに追加できるアカウントの数に固定の上限は設けられていない。GitHub.comだけでなく、GitHub Enterprise ServerやGHE.comでも同様に、同一ホストで複数のアカウントを使える。

リポジトリごとの紐付け

今回の変更の中心は、各リポジトリを特定のアカウントに関連付けられる点だ。紐付けたアカウントの認証情報が、クローン、公開(パブリッシュ)、Git操作の際に自動的に使われる。個人用と業務用のように複数のアカウントを使い分ける場合でも、認証情報を手動で切り替える手間を減らせるとされる。

リポジトリを追加またはクローンするときの動作は、状況によって異なる。サインイン中の複数のアカウントがそのリポジトリにアクセスできる場合は、使うアカウントを選択する。アクセスできるアカウントが1つだけの場合は、Desktopがそのアカウントを推測して選ぶ。

後から変更、既存環境への影響

リポジトリに関連付けたアカウントは、あとから変更できる。変更はリポジトリの設定、またはリポジトリ一覧のコンテキストメニューから行う。

既存のリポジトリは、それまで使っていたアカウントへ自動的に移行される。したがって、ホストごとにアカウントが1つだけの場合は、利用者側で変わることはないと説明されている。

Multiple Accounts on One Host

GitHub Desktop now supports signing in with more than one account on the same host. This applies to GitHub.com, GitHub Enterprise Server, and GHE.com. According to the announcement, this has been one of the most requested features in the Desktop community, and it matters for anyone who uses separate identities, such as personal and work accounts, on a single host.

Users can add more than one account for a single host, and the announcement states there is no fixed limit on how many.

Associating Repositories with Accounts

Each repository can be associated with a specific account. Once that link is set, clone, publish, and Git operations use the right credentials automatically, so the developer does not need to switch credentials by hand.

When adding or cloning a repository that several signed-in accounts can access, the user chooses which account to use. If only one of the signed-in accounts can access the repository, Desktop infers the account on its own.

Changing an Association Later

The account tied to a repository is not permanent. According to the announcement, it can be changed at any time, either from the repository settings or from the context menu in the repository list.

Existing Repositories and Migration

Repositories you already have are migrated automatically to the account you were already using. The announcement notes that anyone with only one account per host will see no change in how Desktop works for them.

In short, the update lets Desktop hold several accounts per host, ties each repository to one of them, and carries existing setups forward without requiring action from users who have a single account per host.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPoko同じホストで複数アカウントにサインインできるようになったって、これ大きいことなの?Signing in with multiple accounts on the same host now — is that a big deal?
  2. TECHガイドTECH Guide記事では、Desktopコミュニティで特に要望の多かった機能だと書かれています。しかも追加できる数に決まった上限はないそうです。The post says it's among the most requested Desktop features. And there's no fixed limit on how many accounts you can add per host.
  3. ポコPokoリポジトリにアカウントを紐付けるって、どういうこと?What does it mean to associate a repository with an account?
  4. TECHガイドTECH Guideリポジトリごとに「このアカウントで使う」と決めておく、くらいの意味です。クローンや公開、Git操作が自動で正しい認証情報になります。You tell each repository which account it uses. Then clone, publish, and Git operations automatically use the right credentials.
  5. ポコPoko私なら個人用と仕事用を分けて使えそう。間違えて紐付けたらどうなるの?I could keep personal and work accounts apart. What if I link the wrong one?
  6. TECHガイドTECH Guideいつでも変えられます。リポジトリ設定か、一覧の右クリックメニューからです。アカウントが1つだけなら、既存の環境は何も変わりません。You can change it anytime from repository settings or the list's context menu. And if you only have one account per host, nothing changes.
記事情報・収集記録Article details & collection record
出典Source
GitHub Changelog公式Official
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
変更履歴Changelog
原文言語Source language
英語English
重要度の位置づけImportance in this lane
MediumMedium priority(Industry & Policy 476件中、同等以上 425件)(425 of 476 Industry & Policy entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.0 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
短命 (ニュース)Short-lived (news)

📰Industry & Policy の他の記事More from Industry & Policyもっと見る →View more →

ページ上部へScroll to top