Skip to content

Commit 46d0bec

Browse files
committed
Move OS versioning into reusables
1 parent 090f191 commit 46d0bec

8 files changed

Lines changed: 163 additions & 3 deletions
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
1. In the **File** menu, click **Clone Repository**.
2+
3+
{% mac %}
4+
5+
![Clone menu option in the Mac app](/assets/images/help/desktop/clone-file-menu-mac.png)
6+
7+
{% endmac %}
8+
9+
{% windows %}
10+
11+
![Clone menu option in the Windows app](/assets/images/help/desktop/clone-file-menu-windows.png)
12+
13+
{% endwindows %}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
1. Click **Choose...** and navigate to a local path where you want to clone the repository.
2+
3+
{% mac %}
4+
5+
![The choose button](/assets/images/help/desktop/clone-choose-button-mac.png)
6+
7+
{% endmac %}
8+
9+
{% windows %}
10+
11+
![The choose button](/assets/images/help/desktop/clone-choose-button-win.png)
12+
13+
{% endwindows %}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
1. Click **Clone**.
2+
3+
{% mac %}
4+
5+
![The clone button](/assets/images/help/desktop/clone-button-mac.png)
6+
7+
{% endmac %}
8+
9+
{% windows %}
10+
11+
![The clone button](/assets/images/help/desktop/clone-button-win.png)
12+
13+
{% endwindows %}
14+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
1. Click the tab that corresponds to the location of the repository you want to clone. You can also click **URL** to manually enter the repository location.
2+
3+
{% mac %}
4+
5+
![Location tabs in the Clone a repository menu](/assets/images/help/desktop/choose-repository-location-mac.png)
6+
7+
{% endmac %}
8+
9+
{% windows %}
10+
11+
![Location tabs in the Clone a repository menu](/assets/images/help/desktop/choose-repository-location-win.png)
12+
13+
{% endwindows %}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
11
1. Choose the repository you want to clone from the list.
2+
3+
4+
{% mac %}
5+
6+
![Clone a repository list](/assets/images/help/desktop/clone-a-repository-list-mac.png)
7+
8+
{% endmac %}
9+
10+
{% windows %}
11+
12+
![Clone a repository list](/assets/images/help/desktop/clone-a-repository-list-win.png)
13+
14+
{% endwindows %}
Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,42 @@
1-
1. If you clone a repository that you don't 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. Click **To contribute to the parent project** if you plan to use this fork for contributing to the original upstream repository or click **For my own purposes** if you plan to use this fork for a project not connected to the upstream. Then click **Continue**.
1+
1. If you plan to use this fork for contributing to the original upstream repository, click **To contribute to the parent project**.
2+
3+
{% mac %}
4+
5+
![Contribute to the parent project menu option](/assets/images/help/desktop/mac-fork-options-prompt.png)
6+
7+
{% endmac %}
8+
9+
{% windows %}
10+
11+
![Contribute to the parent project menu option](/assets/images/help/desktop/windows-fork-options-prompt.png)
12+
13+
{% endwindows %}
14+
15+
2. If you plan to use this fork for a project not connected to the upstream, click **For my own purposes**.
16+
17+
{% mac %}
18+
19+
![Contribute to an independent project menu option](/assets/images/help/desktop/mac-fork-own-purposes.png)
20+
21+
{% endmac %}
22+
23+
{% windows %}
24+
25+
![Contribute to an independent project menu option](/assets/images/help/desktop/windows-fork-own-purposes.png)
26+
27+
{% endwindows %}
28+
29+
3. Click **Continue**.
30+
31+
{% mac %}
32+
33+
![The continue button](/assets/images/help/desktop/mac-forking-continue.png)
34+
35+
{% endmac %}
36+
37+
{% windows %}
38+
39+
![The continue button](/assets/images/help/desktop/windows-forking-continue.png)
40+
41+
{% endwindows %}
42+
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
1. If you want to change how a fork behaves with the upstream repository, open the **Repository** menu, then click **Repository settings...**.
1+
1. If you want to change how a fork behaves with the upstream repository, open the **Repository** menu, then click **Repository settings...**.
2+
3+
{% mac %}
4+
5+
![Repository settings menu option in the Mac app](/assets/images/help/desktop/mac-repository-settings.png)
6+
7+
{% endmac %}
8+
9+
{% windows %}
10+
11+
![Repository settings menu option in the Windows app](/assets/images/help/desktop/windows-repository-settings.png)
12+
13+
{% endwindows %}
14+
Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,43 @@
1-
1. Click **Fork behavior**, then select **To contribute to the parent repository** if you want the fork to make pull requests to the original upstream repository or select **For my own purposes** if you want to keep changes to the fork separate from the upstream, and then click **Save**.
1+
1. Click **Fork behavior**.
2+
2. If you want the fork to make pull requests to the original upstream repository, select **To contribute to the parent repository**.
3+
4+
{% mac %}
5+
6+
![The contribute to the parent repository option in the Fork Behavior menu](/assets/images/help/desktop/mac-fork-behavior-menu-contribute.png)
7+
8+
{% endmac %}
9+
10+
{% windows %}
11+
12+
![The contribute to the parent repository option in the Fork Behavior menu](/assets/images/help/desktop/windows-fork-behavior-menu-contribute.png)
13+
14+
{% endwindows %}
15+
16+
3. If you want to keep changes to the fork separate from the upstream repository, select **For my own purposes**.
17+
18+
{% mac %}
19+
20+
![The own purposes option in the Fork Behavior menu](/assets/images/help/desktop/mac-fork-behavior-menu-own.png)
21+
22+
{% endmac %}
23+
24+
{% windows %}
25+
26+
![The own purposes option in the Fork Behavior menu](/assets/images/help/desktop/windows-fork-behavior-menu-own.png)
27+
28+
{% endwindows %}
29+
30+
4. Click **Save**.
31+
32+
{% mac %}
33+
34+
![The save button in the Fork Behavior menu](/assets/images/help/desktop/mac-fork-behavior-save.png)
35+
36+
{% endmac %}
37+
38+
{% windows %}
39+
40+
![The save button in the Fork Behavior menu](/assets/images/help/desktop/windows-fork-behavior-save.png)
41+
42+
{% endwindows %}
43+

0 commit comments

Comments
 (0)