1
0
mirror of synced 2025-12-22 19:34:15 -05:00
Files
docs/content/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/adding-an-existing-project-to-github-using-github-desktop.md
2023-02-28 09:25:21 +00:00

2.4 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 %}.
/desktop/contributing-to-projects/adding-an-existing-project-to-github-using-github-desktop
/desktop/contributing-and-collaborating-using-github-desktop/adding-an-existing-project-to-github-using-github-desktop
fpt
*
Add an existing project

{% mac %}

{% data reusables.git.remove-git-remote %}

  1. Add the repository to GitHub Desktop. {% data reusables.desktop.publish-repository %}
  2. In the "Publish Repository" window, in the "Name" field, type the desired name of the repository or use the default current local repository name.
  3. Optionally, add a description for the repository.
  4. Optionally, to publish a public repository, deselect Keep this code private.
  5. Select the "Organization" dropdown menu, then either click the organization where you want to publish the repository, or, to publish the repository to your personal account, click None.
  6. Click Publish Repository.

{% 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. The Name field 5. To publish a public repository, unselect Keep this code private. Keep this code private checkbox 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. Organization drop-down 7. Click the Publish repository button. The Publish repository button in the Publish repository dialog

{% endwindows %}