Skip to content

Commit af1f10b

Browse files
committed
Incorporate reviewer feedback
1 parent 46d0bec commit af1f10b

1 file changed

Lines changed: 15 additions & 47 deletions

File tree

content/desktop/contributing-and-collaborating-using-github-desktop/cloning-and-forking-repositories-from-github-desktop.md

Lines changed: 15 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -8,70 +8,38 @@ versions:
88
free-pro-team: '*'
99
---
1010

11-
### About cloning and forking repositories
12-
Repositories on {% data variables.product.prodname_dotcom %} exist as remote repositories that you can clone or fork.
11+
### About local repositories
12+
Repositories on {% data variables.product.prodname_dotcom %} are remote repositories that you can clone or fork with {% data variables.product.prodname_desktop %} to create a local repository.
1313

14-
You can clone your own repositories and public repositories owned by other people to create local copies on your computer. If you own a repository or are a collaborator, you can sync between the local and remote locations. For more information, see "[Syncing your branch](/desktop/contributing-and-collaborating-using-github-desktop/syncing-your-branch)."
14+
You can create a local copy of any repository on {% data variables.product.product_name %} that you have access to by cloning the repository. If you own a repository or are a have write permissions, you can sync between the local and remote locations. For more information, see "[Syncing your branch](/desktop/contributing-and-collaborating-using-github-desktop/syncing-your-branch)."
1515

16-
You can fork a repository to create a copy that you can make changes to without affecting the original project. You can open a pull request to propose your changes to the original upstream repository. For more information, see "[About forks](/github/collaborating-with-issues-and-pull-requests/about-forks)."
16+
When you clone a repository, any changes you push to {% data variables.product.product_name %} will affect the original repository. To make changes without affecting the original project, you can create a separate copy by forking the repository. You can open a pull request to propose that maintainers incorporate the changes in your fork to the original upstream repository. For more information, see "[About forks](/github/collaborating-with-issues-and-pull-requests/about-forks)."
1717

18-
When you use {% data variables.product.prodname_desktop %} to clone a repository that you do not have write access to, {% data variables.product.prodname_desktop %} will prompt you to create a fork. You can choose to use your fork for contributing to the original upstream repository or independently of the upstream. Any existing forks default to contributing changes to their upstream repositories. You can modify this choice at any time in the **Repository settings...** menu.
18+
When you try to use {% data variables.product.prodname_desktop %} to clone a repository that you do not have write access to, {% data variables.product.prodname_desktop %} will prompt you to create a fork automatically. You can choose to use your fork to contribute to the original upstream repository or to work independently on your own project. Any existing forks default to contributing changes to their upstream repositories. You can modify this choice at any time. For more information, see "[Managing fork behavior](#managing-fork-behavior)".
1919

2020
You can also clone a repository directly from {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}. For more information, see "[Cloning a repository from {% data variables.product.prodname_dotcom %} to {% data variables.product.prodname_desktop %}](/desktop/guides/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop/)".
2121

22-
### Cloning repositories
23-
{% mac %}
22+
### Cloning a repository
2423

2524
{% data reusables.desktop.choose-clone-repository %}
26-
![Clone menu option in the Mac app](/assets/images/help/desktop/clone-file-menu-mac.png)
2725
{% data reusables.desktop.cloning-location-tab %}
28-
![Location tabs in the Clone a repository menu](/assets/images/help/desktop/choose-repository-location-mac.png)
29-
{% data reusables.desktop.cloning-repository-list %}
30-
![Clone a repository list](/assets/images/help/desktop/clone-a-repository-list-mac.png)
31-
4. Click **Choose...** and, using the Finder window, navigate to a local path where you want to clone the repository.
32-
![The choose button](/assets/images/help/desktop/clone-choose-button-mac.png)
33-
5. Click **Clone**.
34-
![The clone button](/assets/images/help/desktop/clone-button-mac.png)
26+
{% data reusables.desktop.cloning-repository-list %}
27+
{% data reusables.desktop.choose-local-path %}
28+
{% data reusables.desktop.click-clone %}
3529

36-
{% endmac %}
37-
38-
{% windows %}
30+
### Forking a repository
31+
If you clone a repository that you do not have write access to, {% data variables.product.prodname_desktop %} will create a fork. After creating or cloning a fork, {% data variables.product.prodname_desktop %} will ask how you are planning to use the fork.
3932

4033
{% data reusables.desktop.choose-clone-repository %}
41-
![Clone menu option in the Windows app](/assets/images/help/desktop/clone-file-menu-windows.png)
4234
{% data reusables.desktop.cloning-location-tab %}
43-
![Location tabs in the Clone a repository menu](/assets/images/help/desktop/choose-repository-location-win.png)
44-
{% data reusables.desktop.cloning-repository-list %}
45-
![Clone a repository list](/assets/images/help/desktop/clone-a-repository-list-win.png)
46-
4. Click **Choose...** and, using Windows Explorer, navigate to a local path where you want to clone the repository.
47-
![The choose button](/assets/images/help/desktop/clone-choose-button-win.png)
48-
5. Click **Clone**.
49-
![The clone button](/assets/images/help/desktop/clone-button-win.png)
50-
51-
{% endwindows %}
52-
53-
### Forking repositories
54-
{% mac %}
55-
35+
{% data reusables.desktop.cloning-repository-list %}
36+
{% data reusables.desktop.choose-local-path %}
37+
{% data reusables.desktop.click-clone %}
5638
{% data reusables.desktop.fork-type-prompt %}
57-
![Menu to select if a fork will contribute to an upstream repository](/assets/images/help/desktop/mac-fork-options-prompt.png)
58-
{% data reusables.desktop.open-repository-settings %}
59-
![Repository settings menu option in the Mac app](/assets/images/help/desktop/mac-repository-settings.png)
60-
{% data reusables.desktop.select-fork-behavior %}
61-
![Options in the fork behavior menu](/assets/images/help/desktop/mac-fork-behavior-menu.png)
62-
63-
{% endmac %}
64-
65-
{% windows %}
6639

67-
{% data reusables.desktop.fork-type-prompt %}
68-
![Menu to select if a fork will contribute to an upstream repository](/assets/images/help/desktop/windows-fork-options-prompt.png)
40+
### Managing fork behavior
6941
{% data reusables.desktop.open-repository-settings %}
70-
![Repository settings menu option in the Windows app](/assets/images/help/desktop/windows-repository-settings.png)
7142
{% data reusables.desktop.select-fork-behavior %}
72-
![Options in the fork behavior menu](/assets/images/help/desktop/windows-fork-behavior-menu.png)
73-
74-
{% endwindows %}
7543

7644
### Further reading
7745
- [About remote repositories](/github/using-git/about-remote-repositories)

0 commit comments

Comments
 (0)