Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Ward <[email protected]>
  • Loading branch information
warp-core and steveward authored Feb 7, 2025
1 parent 919daa5 commit 0df761d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can create a local copy of any repository on {% data variables.product.githu

When you clone a repository, any changes you push to {% data variables.product.github %} 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 create a pull request to propose that maintainers incorporate the changes in your fork into the original upstream repository. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks).

When you use {% data variables.product.prodname_desktop %} to push new commits to 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 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).
When you use {% data variables.product.prodname_desktop %} to push a change to 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 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).

You can also clone a repository directly from {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}. For more information, see [AUTOTITLE](/desktop/adding-and-cloning-repositories/cloning-a-repository-from-github-to-github-desktop).

Expand Down
2 changes: 1 addition & 1 deletion data/reusables/desktop/cloning-location-url-tab.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1. Click the tab that corresponds to the location of the repository you want to clone. In this example, we click on the URL tab.

![Screenshot of the "Clone a repository" window. At the top of the window, "GitHub.com", "GitHub Enterprise" and "URL" tabs are outlined in orange. The "URL" tab is selected.](/assets/images/help/desktop/choose-repository-location-url-tab-windows.png)
![Screenshot of the "URL" tab of the "Clone a repository" window. At the top of the window, "GitHub.com", "GitHub Enterprise" and "URL" tabs are outlined in orange.](/assets/images/help/desktop/choose-repository-location-url-tab-windows.png)

Check warning on line 3 in data/reusables/desktop/cloning-location-url-tab.md

View workflow job for this annotation

GitHub Actions / lint-content

Image alternate text is 162 characters long.
2 changes: 1 addition & 1 deletion data/reusables/desktop/create-fork-prompt.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1. To create a fork, attempt to write a change to the repository. For example, create a new branch and publish it. A prompt will appear asking if you want to fork this repository. Click "Fork this repository"
1. To create a fork, attempt to push a change to the repository. For example, create a new branch and publish it. A prompt will appear asking if you want to fork this repository.

Check failure on line 1 in data/reusables/desktop/create-fork-prompt.md

View workflow job for this annotation

GitHub Actions / lint-content

Expected: 0 or 2; Actual: 1.

![Screenshot of the "Create a fork prompt" window. A button, labeled "Fork this repository", is highlighted with an orange outline.](/assets/images/help/desktop/create-fork-button-windows.png)
2 changes: 1 addition & 1 deletion data/reusables/desktop/forking-a-repo.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
In {% data variables.product.prodname_desktop %}, if you clone a repository that you don't have write access to, and then attempt to push new commits to the repository, a fork will be created for you.
In {% data variables.product.prodname_desktop %}, if you clone a repository that you do not have write access to, and then attempt to push a change to the repository, a fork will be created for you.

{% data reusables.desktop.choose-clone-repository %}
{% data reusables.desktop.cloning-location-url-tab %}
Expand Down

0 comments on commit 0df761d

Please sign in to comment.