1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Merge pull request #54337 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2025-02-10 13:37:22 -05:00
committed by GitHub
11 changed files with 24 additions and 17 deletions

View File

@@ -0,0 +1,3 @@
1. To select the local directory into which you want to clone the repository, next to the "Local Path" field, click **Choose...** and navigate to the directory.
![Screenshot of the "URL" tab of the "Clone a repository" window. A button, labeled "Choose", is highlighted with an orange outline.](/assets/images/help/desktop/clone-choose-button-url-windows.png)

View File

@@ -0,0 +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 "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)

View File

@@ -0,0 +1,3 @@
1. Enter the url or path of the repository you want to clone.
![Screenshot of the "URL" tab of the "Clone a repository" window. The input containing "octocat/Spoon-Knife" is highlighted with an orange outline.](/assets/images/help/desktop/clone-a-repository-url-tab-name-input.png)

View File

@@ -0,0 +1,3 @@
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.
![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)

View File

@@ -1,8 +1,9 @@
In {% data variables.product.prodname_desktop %}, if you attempt to clone a repository that you don't have write access to, a fork is automatically 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-tab %}
{% data reusables.desktop.cloning-repository-list %}
{% data reusables.desktop.choose-local-path %}
{% data reusables.desktop.cloning-location-url-tab %}
{% data reusables.desktop.cloning-repository-url %}
{% data reusables.desktop.choose-local-path-url-tab %}
{% data reusables.desktop.click-clone %}
{% data reusables.desktop.create-fork-prompt %}
{% data reusables.desktop.fork-type-prompt %}