63 lines
2.9 KiB
Markdown
63 lines
2.9 KiB
Markdown
---
|
|
title: Configuring Git for GitHub Desktop
|
|
shortTitle: Configuring Git
|
|
intro: 'If you don''t already have Git installed, you must configure it before using GitHub Desktop.'
|
|
redirect_from:
|
|
- /desktop/getting-started-with-github-desktop/configuring-git-for-github-desktop
|
|
- /desktop/installing-and-configuring-github-desktop/configuring-git-for-github-desktop
|
|
versions:
|
|
free-pro-team: '*'
|
|
---
|
|
{% data variables.product.prodname_desktop %} uses the email address you set in your local Git configuration to connect commits with your account on {% data variables.product.product_name %}.
|
|
|
|
{% data reusables.desktop.update-email-address %}
|
|
|
|
{% tip %}
|
|
|
|
**Tip**: Anyone will be able to see the email address in your Git configuration if you make public commits. For more information, see "[Setting your commit email address](/articles/setting-your-commit-email-address/)."
|
|
|
|
{% endtip %}
|
|
|
|
{% mac %}
|
|
|
|
{% data reusables.desktop.sign-in-choose-product %}
|
|
{% data reusables.user_settings.access_settings %}
|
|
{% data reusables.user_settings.emails %}
|
|
{% data reusables.desktop.copy-email-git-config %}
|
|
{% data reusables.desktop.return-to-desktop %}
|
|
{% data reusables.desktop.mac-select-desktop-menu %}
|
|
7. In the Preferences window, click **Git**.
|
|

|
|
{% data reusables.desktop.name-field-git-config %}
|
|

|
|
{% data reusables.desktop.paste-email-git-config %}
|
|

|
|
{% data reusables.desktop.click-save-git-config %}
|
|

|
|
|
|
{% endmac %}
|
|
|
|
{% windows %}
|
|
|
|
{% data reusables.desktop.sign-in-choose-product %}
|
|
{% data reusables.user_settings.access_settings %}
|
|
{% data reusables.user_settings.emails %}
|
|
{% data reusables.desktop.copy-email-git-config %}
|
|
{% data reusables.desktop.return-to-desktop %}
|
|
{% data reusables.desktop.windows-choose-options %}
|
|
8. In the Options window, click **Git**.
|
|

|
|
{% data reusables.desktop.name-field-git-config %}
|
|

|
|
{% data reusables.desktop.paste-email-git-config %}
|
|

|
|
{% data reusables.desktop.click-save-git-config %}
|
|

|
|
|
|
{% endwindows %}
|
|
|
|
## Further reading
|
|
|
|
- "[Adding an email address to your GitHub account](/articles/adding-an-email-address-to-your-github-account/)"
|
|
- "[Setting your commit email address](/articles/setting-your-commit-email-address/)"
|