1
0
mirror of synced 2026-01-07 18:01:41 -05:00
Files
docs/content/desktop/contributing-and-collaborating-using-github-desktop/adding-a-repository-from-your-local-computer-to-github-desktop.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

36 lines
1.8 KiB
Markdown

---
title: Adding a repository from your local computer to GitHub Desktop
intro: 'You can add any Git repository to {% data variables.product.prodname_desktop %}, even if it''s not a {% data variables.product.prodname_dotcom %} repository.'
redirect_from:
- /desktop/contributing-to-projects/adding-a-repository-from-your-local-computer-to-github-desktop
versions:
free-pro-team: '*'
---
{% tip %}
**Tip:** You can add a Git repository from your local computer to GitHub Desktop by dragging the folder onto the {% data variables.product.prodname_desktop %} window. If you drag multiple Git folders into {% data variables.product.prodname_desktop %} at the same time, each folder will be added as a separate Git repository.
{% endtip %}
{% mac %}
1. In the **File** menu, click **Add Local Repository**.
![Add Local Repository menu option](/assets/images/help/desktop/add-local-repository-mac.png)
2. Click **Choose...** and, using the Finder window, navigate to the local repository you want to add.
![The Local Path field in the Mac app](/assets/images/help/desktop/add-repo-choose-button-mac.png)
4. Click **Add Repository**.
![The Add repository button in the Mac app](/assets/images/help/desktop/add-repository-button-mac.png)
{% endmac %}
{% windows %}
1. In the **File** menu, click **Add local repository**.
![Add Local Repository menu option](/assets/images/help/desktop/add-local-repository-windows.png)
2. Click **Choose...** and, using Windows Explorer, navigate to the local repository you want to add.
![The Local Path field in the Windows app](/assets/images/help/desktop/add-repo-choose-button-win.png)
4. Click **Add repository**.
![The Add repository button in the Windows app](/assets/images/help/desktop/add-repository-button-windows.png)
{% endwindows %}