Skip to main content

此版本的 GitHub Enterprise Server 已于以下日期停止服务 2026-03-17. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

在 GitHub Desktop 中配置基本设置

你可以访问隐私保护设置,将帐户连接到 GitHub Desktop,以及配置 Git。

Platform navigation

  1. In the menu bar, select GitHub Desktop, then click Settings.

    Screenshot of the menu bar on a Mac. Under the open "GitHub Desktop" dropdown menu, the cursor hovers over "Settings", which is highlighted in blue.

  2. To view or change your settings, toggle between the panes in the "Settings" window.

    Screenshot of the "Settings" window. The left sidebar contains menu options such as "Accounts" and "Integrations".

    You can choose from the following options.

    • Choose Accounts to add or remove a GitHub or GitHub Enterprise account.
    • Choose Integrations to pick an external editor or shell.
    • Choose Git to edit your Git configuration.
    • Choose Appearance to switch between the light or dark theme.
    • Choose Prompts to enable or disable confirmation dialogs before performing destructive actions.
    • Choose Advanced for more configuration options.
    • Choose Accessibility to configure accessibility options.
  1. Use the File menu, then click Options.

    Screenshot of the "GitHub Desktop" menu bar on Windows. In the expanded "File" dropdown menu, the "Options" item is outlined in orange.

  2. To view or change your settings, toggle between the panes in the "Options" window.

    Screenshot of the "Options" window. The left sidebar, with menu options such as "Accounts" and "Integrations", is highlighted with an orange outline.

    You can choose from the following options.

    • Choose Accounts to add or remove a GitHub or GitHub Enterprise account.
    • Choose Integrations to pick an external editor or shell.
    • Choose Git to edit your Git configuration.
    • Choose Appearance to switch between the light or dark theme.
    • Choose Prompts to enable or disable confirmation dialogs before performing destructive actions.
    • Choose Advanced for more configuration options.
    • Choose Accessibility to configure accessibility options.

Further reading