Newshot

GitHub Desktop 现在支持同一主机绑定多个账号

AI summary

GitHub Desktop 现在允许在同一主机(包括 GitHub.com、GitHub Enterprise Server 和 GHE.com)上登录多个账号,这是 Desktop 社区呼声最高的功能之一。你可以为同一主机添加多个账号且数量不限,并让每个仓库关联指定账号,从而在克隆、发布和 Git 操作中自动使用正确的凭据;添加或克隆仓库时若多个已登录账号都有权限,还可自行选择账号,或只在唯一可访问时由 Desktop 自动推断。仓库的账号关联可随时在仓库设置或仓库列表的右键菜单中更改,已有的仓库会自动迁移到你原本使用的账号,因此若每个主机只有一个账号则不会有任何变化。要开始使用,请下载最新版(GitHub Desktop 3.7.0),打开 设置/选项 > 账号 添加另一个账号,然后使用新账号……

Translation(model translation, not the source's own text)

GitHub Desktop 现在支持在同一主机上使用多个账号登录,包括 GitHub.com、GitHub Enterprise Server 和 GHE.com。这一直是 Desktop 社区呼声最高的功能之一。

通过本次发布,你可以:

  • 为单一主机添加多个账号,且没有固定上限。
  • 将每个仓库与特定账号关联,这样 clone、publish 和 Git 操作会自动使用正确的凭据。
  • 在添加或克隆多个已登录账号均可访问的仓库时选择账号,或在只有一个账号可访问时让 Desktop 自行推断。
  • 随时从仓库设置或仓库列表的右键菜单中更改仓库的账号关联。

现有仓库会自动迁移到你此前已在使用的账号,因此如果你每个主机只有一个账号,则不会有任何变化。

要开始使用,请下载最新版本(GitHub Desktop 3.7.0),打开 Settings/Options > Accounts 添加另一个账号,然后在克隆、发布或查看仓库设置时使用新的账号选择器。更多信息请参阅 GitHub Desktop 的身份验证文档。

Only about 571 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by GitHub Changelog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗