2.7 KiB
title, intro, redirect_from, versions, shortTitle
| title | intro | redirect_from | versions | shortTitle | ||||
|---|---|---|---|---|---|---|---|---|
| Adding an existing project to GitHub using GitHub Desktop | You can add an existing Git repository to {% data variables.product.prodname_dotcom %} using {% data variables.product.prodname_desktop %}. |
|
|
Add an existing project |
{% mac %}
{% data reusables.git.remove-git-remote %}
2. Add the repository to GitHub Desktop.
{% data reusables.desktop.publish-repository %}
4. Type the desired name of the repository in the Name field or use the default current local repository name.
5. To publish a public repository, unselect Keep this code private.
6. Choose the organization in the Organization drop-down where you want to publish the repository, or select None to publish the repository to your personal account.
7. Click the Publish Repository button.

{% endmac %}
{% windows %}
{% data reusables.git.remove-git-remote %}
2. Add the repository to GitHub Desktop.
{% data reusables.desktop.publish-repository %}
4. Type the desired name of the repository in the Name field or use the default current local repository name.
5. To publish a public repository, unselect Keep this code private.
6. Choose the organization in the Organization drop-down where you want to publish the repository, or select None to publish the repository to your personal account.
7. Click the Publish repository button.

{% endwindows %}