Make some more images in the images/help/repository directory (D-O) accessible (4/4) (#35911)
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 105 KiB |
@@ -26,8 +26,6 @@ In the "Contribution activity" section of your profile page, you can click the n
|
|||||||
|
|
||||||
If you click a commit link from your profile page and don't see all of the expected commits on the repository's commits page, then it's possible the commit history in Git was rewritten and the commit author date and the commit date are different.
|
If you click a commit link from your profile page and don't see all of the expected commits on the repository's commits page, then it's possible the commit history in Git was rewritten and the commit author date and the commit date are different.
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## How GitHub uses the Git author date and commit date
|
## How GitHub uses the Git author date and commit date
|
||||||
|
|
||||||
In Git, the author date is when someone first creates a commit with `git commit`. The commit date is identical to the author date unless someone changes the commit date by using `git commit --amend`, a force push, a rebase, or other Git commands.
|
In Git, the author date is when someone first creates a commit with `git commit`. The commit date is identical to the author date unless someone changes the commit date by using `git commit --amend`, a force push, a rebase, or other Git commands.
|
||||||
|
|||||||
@@ -39,20 +39,15 @@ To draft a new release and publish the action to {% data variables.product.prodn
|
|||||||
|
|
||||||
{% data reusables.repositories.navigate-to-repo %}
|
{% data reusables.repositories.navigate-to-repo %}
|
||||||
1. Navigate to the action metadata file in your repository (`action.yml` or `action.yaml`), and you'll see a banner to publish the action to {% data variables.product.prodname_marketplace %}. Click **Draft a release**.
|
1. Navigate to the action metadata file in your repository (`action.yml` or `action.yaml`), and you'll see a banner to publish the action to {% data variables.product.prodname_marketplace %}. Click **Draft a release**.
|
||||||
|
1. Under "Release Action", select **Publish this Action to the {% data variables.product.prodname_marketplace %}**.
|
||||||
|
|
||||||

|
If you can't select the checkbox, you must first click the link to read and accept the {% data variables.product.prodname_marketplace %} Developer Agreement.
|
||||||
1. Under "Release Action", select the checkbox to publish the action to the {% data variables.product.prodname_marketplace %}. If you can't select the checkbox, you must first click the link to read and accept the {% data variables.product.prodname_marketplace %} Developer Agreement.
|
1. If the labels in your metadata file contain any problems, you will see an error message. Address them by updating your metadata file. Once complete, you will see an "Everything looks good!" message.
|
||||||

|
1. Select the **Primary Category** dropdown menu and click a category that will help people find your action in {% data variables.product.prodname_marketplace %}.
|
||||||
1. If the labels in your metadata file contain any problems, you will see an error message.
|
1. Optionally, select the **Another Category** dropdown menu and click a secondary category.
|
||||||

|
1. In the tag field, type a version for your action. This helps people know what changes or features the release includes. People will see the version in the action's dedicated {% data variables.product.prodname_marketplace %} page.
|
||||||
1. If you see any on-screen suggestions, address them by updating your metadata file. Once complete, you will see an "Everything looks good!" message.
|
1. In the title field, type a release title.
|
||||||

|
|
||||||
1. Choose a "Primary Category" and, optionally, "Another Category" which will help people find your action in {% data variables.product.prodname_marketplace %}.
|
|
||||||

|
|
||||||
1. Tag your Action with a version, and add a release title. This helps people know what changes or features the release includes. People will see the version in the action's dedicated {% data variables.product.prodname_marketplace %} page.
|
|
||||||

|
|
||||||
1. Complete all other fields and click **Publish release**. Publishing requires you to use two-factor authentication. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)."
|
1. Complete all other fields and click **Publish release**. Publishing requires you to use two-factor authentication. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)."
|
||||||

|
|
||||||
|
|
||||||
## Removing an action from {% data variables.product.prodname_marketplace %}
|
## Removing an action from {% data variables.product.prodname_marketplace %}
|
||||||
|
|
||||||
|
|||||||
@@ -32,15 +32,17 @@ Users in India can contact GitHub's Grievance Officer for India [here](https://s
|
|||||||
## Reporting an issue or pull request
|
## Reporting an issue or pull request
|
||||||
|
|
||||||
1. Navigate to the issue or pull request you'd like to report.
|
1. Navigate to the issue or pull request you'd like to report.
|
||||||
1. In the upper-right corner of the issue or pull request, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab octicon" %}, then click **Report content**.
|
1. In the upper-right corner of the issue or pull request, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **Report content**.
|
||||||

|
|
||||||
|

|
||||||
{% data reusables.community.report-content %}
|
{% data reusables.community.report-content %}
|
||||||
|
|
||||||
## Reporting a comment
|
## Reporting a comment
|
||||||
|
|
||||||
1. Navigate to the comment you'd like to report.
|
1. Navigate to the comment you'd like to report.
|
||||||
1. In the upper-right corner of the comment, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab octicon" %}, then click **Report content**.
|
1. In the upper-right corner of the comment, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **Report content**.
|
||||||

|
|
||||||
|

|
||||||
{% data reusables.community.report-content %}
|
{% data reusables.community.report-content %}
|
||||||
|
|
||||||
## Reporting an app in {% data variables.product.prodname_marketplace %}
|
## Reporting an app in {% data variables.product.prodname_marketplace %}
|
||||||
@@ -65,6 +67,5 @@ Users in India can contact GitHub's Grievance Officer for India [here](https://s
|
|||||||
- "[AUTOTITLE](/communities/setting-up-your-project-for-healthy-contributions)"
|
- "[AUTOTITLE](/communities/setting-up-your-project-for-healthy-contributions)"
|
||||||
- "[AUTOTITLE](/communities/using-templates-to-encourage-useful-issues-and-pull-requests)"
|
- "[AUTOTITLE](/communities/using-templates-to-encourage-useful-issues-and-pull-requests)"
|
||||||
- "[AUTOTITLE](/communities/moderating-comments-and-conversations/managing-disruptive-comments)"{% ifversion fpt or ghec %}
|
- "[AUTOTITLE](/communities/moderating-comments-and-conversations/managing-disruptive-comments)"{% ifversion fpt or ghec %}
|
||||||
- "[AUTOTITLE](/communities/maintaining-your-safety-on-github)"
|
|
||||||
- "[AUTOTITLE](/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository)"{% endif %}
|
- "[AUTOTITLE](/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository)"{% endif %}
|
||||||
- "[AUTOTITLE](/communities/moderating-comments-and-conversations/tracking-changes-in-a-comment)"
|
- "[AUTOTITLE](/communities/moderating-comments-and-conversations/tracking-changes-in-a-comment)"
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ If the code of conduct you want to use isn't available in the provided templates
|
|||||||
{% data reusables.repositories.navigate-to-repo %}
|
{% data reusables.repositories.navigate-to-repo %}
|
||||||
{% data reusables.files.add-file %}
|
{% data reusables.files.add-file %}
|
||||||
3. In the file name field, type the name and extension for the file.
|
3. In the file name field, type the name and extension for the file.
|
||||||

|
|
||||||
- To make your code of conduct visible in the repository's root directory, type *CODE_OF_CONDUCT* in the file name field.
|
- To make your code of conduct visible in the repository's root directory, type *CODE_OF_CONDUCT* in the file name field.
|
||||||
- To make your code of conduct visible in the repository's `docs` directory, type *docs/CODE_OF_CONDUCT*.
|
- To make your code of conduct visible in the repository's `docs` directory, type *docs/CODE_OF_CONDUCT*.
|
||||||
- To make your code of conduct visible in the repository's `.github` directory, type *.github/CODE_OF_CONDUCT*.
|
- To make your code of conduct visible in the repository's `.github` directory, type *.github/CODE_OF_CONDUCT*.
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ You can create default contribution guidelines for your organization{% ifversion
|
|||||||
{% data reusables.repositories.navigate-to-repo %}
|
{% data reusables.repositories.navigate-to-repo %}
|
||||||
{% data reusables.files.add-file %}
|
{% data reusables.files.add-file %}
|
||||||
3. Decide whether to store your contributing guidelines in your repository's root, `docs`, or `.github` directory. Then, in the filename field, type the name and extension for the file. Contributing guidelines filenames are not case sensitive. Files are rendered in rich text format if the file extension is in a supported format. For more information, see "[AUTOTITLE](/repositories/working-with-files/using-files/working-with-non-code-files#rendering-differences-in-prose-documents)."
|
3. Decide whether to store your contributing guidelines in your repository's root, `docs`, or `.github` directory. Then, in the filename field, type the name and extension for the file. Contributing guidelines filenames are not case sensitive. Files are rendered in rich text format if the file extension is in a supported format. For more information, see "[AUTOTITLE](/repositories/working-with-files/using-files/working-with-non-code-files#rendering-differences-in-prose-documents)."
|
||||||

|
|
||||||
- To make your contributing guidelines visible in the repository's root directory, type *CONTRIBUTING*.
|
- To make your contributing guidelines visible in the repository's root directory, type *CONTRIBUTING*.
|
||||||
- To make your contributing guidelines visible in the repository's `docs` directory, type *docs/* to create the new directory, then *CONTRIBUTING*.
|
- To make your contributing guidelines visible in the repository's `docs` directory, type *docs/* to create the new directory, then *CONTRIBUTING*.
|
||||||
- If a repository contains more than one *CONTRIBUTING* file, then the file shown in links is chosen from locations in the following order: the `.github` directory, then the repository's root directory, and finally the `docs` directory.
|
- If a repository contains more than one *CONTRIBUTING* file, then the file shown in links is chosen from locations in the following order: the `.github` directory, then the repository's root directory, and finally the `docs` directory.
|
||||||
|
|||||||
@@ -90,10 +90,11 @@ You can open a new issue from a specific line or lines of code in a file or pull
|
|||||||
{% data reusables.repositories.navigate-to-repo %}
|
{% data reusables.repositories.navigate-to-repo %}
|
||||||
1. Locate the code you want to reference in an issue:
|
1. Locate the code you want to reference in an issue:
|
||||||
- To open an issue about code in a file, navigate to the file.
|
- To open an issue about code in a file, navigate to the file.
|
||||||
- To open an issue about code in a pull request, navigate to the pull request and click {% octicon "diff" aria-label="The file diff icon" %} **Files changed**. Then, browse to the file that contains the code you want included in your comment, and click **View**.
|
- To open an issue about code in a pull request, navigate to the pull request and click {% octicon "diff" aria-hidden="true" %} **Files changed**. Then, browse to the file that contains the code you want included in your comment, and click **View**.
|
||||||
{% data reusables.repositories.choose-line-or-range %}
|
{% data reusables.repositories.choose-line-or-range %}
|
||||||
4. To the left of the code range, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab octicon" %}. In the drop-down menu, click **Reference in new issue**.
|
1. To the left of the code range, click {% octicon "kebab-horizontal" aria-label="Code line X options" %}. In the dropdown menu, click **Reference in new issue**.
|
||||||

|
|
||||||
|

|
||||||
{% data reusables.repositories.type-issue-title-and-description %}
|
{% data reusables.repositories.type-issue-title-and-description %}
|
||||||
{% data reusables.repositories.assign-an-issue-as-project-maintainer %}
|
{% data reusables.repositories.assign-an-issue-as-project-maintainer %}
|
||||||
{% data reusables.repositories.submit-new-issue %}
|
{% data reusables.repositories.submit-new-issue %}
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ type: how_to
|
|||||||
{% data reusables.project-management.milestones %}
|
{% data reusables.project-management.milestones %}
|
||||||
4. Choose one of these options:
|
4. Choose one of these options:
|
||||||
- To create a new milestone, click **New Milestone**.
|
- To create a new milestone, click **New Milestone**.
|
||||||

|
|
||||||
- To edit a milestone, next to the milestone you want to edit, click **Edit**.
|
- To edit a milestone, next to the milestone you want to edit, click **Edit**.
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -53,8 +53,9 @@ When you create a branch rule, the branch you specify doesn't have to exist yet
|
|||||||
1. Optionally, enable required pull requests.
|
1. Optionally, enable required pull requests.
|
||||||
- Under "Protect matching branches", select **Require a pull request before merging**.
|
- Under "Protect matching branches", select **Require a pull request before merging**.
|
||||||

|

|
||||||
- Optionally, to require approvals before a pull request can be merged, select **Require approvals**, click the **Required number of approvals before merging** drop-down menu, then select the number of approving reviews you would like to require on the branch.
|
- Optionally, to require approvals before a pull request can be merged, select **Require approvals**.
|
||||||

|
|
||||||
|
Select the **Required number of approvals before merging** dropdown menu, then click the number of approving reviews you would like to require on the branch.
|
||||||
- Optionally, to dismiss a pull request approval review when a code-modifying commit is pushed to the branch, select **Dismiss stale pull request approvals when new commits are pushed**.
|
- Optionally, to dismiss a pull request approval review when a code-modifying commit is pushed to the branch, select **Dismiss stale pull request approvals when new commits are pushed**.
|
||||||

|

|
||||||
- Optionally, to require review from a code owner when the pull request affects code that has a designated owner, select **Require review from Code Owners**. For more information, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)."
|
- Optionally, to require review from a code owner when the pull request affects code that has a designated owner, select **Require review from Code Owners**. For more information, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)."
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ shortTitle: Classify with topics
|
|||||||
|
|
||||||
With topics, you can explore repositories in a particular subject area, find projects to contribute to, and discover new solutions to a specific problem. Topics appear on the main page of a repository. You can click a topic name to {% ifversion fpt or ghec %}see related topics and a list of other repositories classified with that topic{% else %}search for other repositories with that topic{% endif %}.
|
With topics, you can explore repositories in a particular subject area, find projects to contribute to, and discover new solutions to a specific problem. Topics appear on the main page of a repository. You can click a topic name to {% ifversion fpt or ghec %}see related topics and a list of other repositories classified with that topic{% else %}search for other repositories with that topic{% endif %}.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
To browse the most used topics, go to https://github.com/topics/.
|
To browse the most used topics, go to https://github.com/topics/.
|
||||||
|
|
||||||
@@ -47,12 +47,12 @@ When creating a topic:
|
|||||||
|
|
||||||
{% data reusables.repositories.navigate-to-repo %}
|
{% data reusables.repositories.navigate-to-repo %}
|
||||||
2. In the top right corner of the page, to the right of "About", click {% octicon "gear" aria-label="Edit repository metadata" %}.
|
2. In the top right corner of the page, to the right of "About", click {% octicon "gear" aria-label="Edit repository metadata" %}.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
3. Under "Topics", start to type the topic you want to add to your repository to display a dropdown menu of any matching topics. Click the topic you want to add or continue typing to create a new topic.
|
3. Under "Topics", start to type the topic you want to add to your repository to display a dropdown menu of any matching topics. Click the topic you want to add or continue typing to create a new topic.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
4. Optional, if there are "Suggested" topics displayed under the "Topics" field, click {% octicon "plus" aria-label="Add this topic" %} to add or {% octicon "dash" aria-label="Decline this topic" %} to decline the suggested topic.
|
4. Optional, if there are "Suggested" topics displayed under the "Topics" field, click {% octicon "plus" aria-label="Add this topic" %} to add or {% octicon "dash" aria-label="Decline this topic" %} to decline the suggested topic.
|
||||||
5. After you've finished adding topics, click **Save changes**.
|
5. After you've finished adding topics, click **Save changes**.
|
||||||
@@ -21,14 +21,13 @@ When creating a file on {% data variables.product.product_name %}, consider the
|
|||||||
{% data reusables.repositories.sensitive-info-warning %}
|
{% data reusables.repositories.sensitive-info-warning %}
|
||||||
|
|
||||||
{% data reusables.repositories.navigate-to-repo %}
|
{% data reusables.repositories.navigate-to-repo %}
|
||||||
2. In your repository, browse to the folder where you want to create a file.
|
1. In your repository, browse to the folder where you want to create a file.
|
||||||
{% data reusables.files.add-file %}
|
{% data reusables.files.add-file %}
|
||||||
4. In the file name field, type the name and extension for the file. To create subdirectories, type the `/` directory separator.
|
1. In the file name field, type the name and extension for the file. To create subdirectories, type the `/` directory separator.
|
||||||

|
1. In the file contents text box, type content for the file.
|
||||||
5. On the **Edit new file** tab, add content to the file.
|
1. To review the new content, above the file contents, click **Preview**.
|
||||||

|
|
||||||
6. To review the new content, click **Preview**.
|

|
||||||

|
|
||||||
{% data reusables.files.write_commit_message %}
|
{% data reusables.files.write_commit_message %}
|
||||||
{% data reusables.files.choose-commit-email %}
|
{% data reusables.files.choose-commit-email %}
|
||||||
{% data reusables.files.choose_commit_branch %}
|
{% data reusables.files.choose_commit_branch %}
|
||||||
|
|||||||
@@ -32,17 +32,17 @@ In addition to changing the file location, you can also [update the contents of
|
|||||||
{% endtip %}
|
{% endtip %}
|
||||||
|
|
||||||
1. In your repository, browse to the file you want to move.
|
1. In your repository, browse to the file you want to move.
|
||||||
2. In the upper right corner of the file view, click {% octicon "pencil" aria-label="The edit icon" %} to open the file editor.
|
1. In the upper right corner of the file view, click {% octicon "pencil" aria-label="Edit file" %} to open the file editor.
|
||||||

|
|
||||||
3. In the filename field, change the name of the file using these guidelines:
|

|
||||||

|
1. In the filename field, change the name of the file using these guidelines:
|
||||||
- To move the file **into a subfolder**, type the name of the folder you want, followed by `/`. Your new folder name becomes a new item in the navigation breadcrumbs.
|
- To move the file **into a subfolder**, type the name of the folder you want, followed by `/`. Your new folder name becomes a new item in the navigation breadcrumbs.
|
||||||
- To move the file into a directory **above the file's current location**, place your cursor at the beginning of the filename field, then either type `../` to jump up one full directory level, or type the `backspace` key to edit the parent folder's name.
|
- To move the file into a directory **above the file's current location**, place your cursor at the beginning of the filename field, then either type `../` to jump up one full directory level, or type the `backspace` key to edit the parent folder's name.
|
||||||
{% data reusables.files.write_commit_message %}
|
{% data reusables.files.write_commit_message %}
|
||||||
{% data reusables.files.choose_commit_branch %}
|
{% data reusables.files.choose_commit_branch %}
|
||||||
{% data reusables.files.propose_file_change %}
|
{% data reusables.files.propose_file_change %}
|
||||||
|
|
||||||
## Moving a file to a new location using the command line
|
## Moving a file to a new location using the command line
|
||||||
|
|
||||||
You can use the command line to move files within a repository by removing the file from the old location and then adding it in the new location.
|
You can use the command line to move files within a repository by removing the file from the old location and then adding it in the new location.
|
||||||
|
|
||||||
|
|||||||
@@ -359,7 +359,8 @@ graph TD
|
|||||||
```
|
```
|
||||||
|
|
||||||
When you view the file in the repository, it is rendered as a flow chart.
|
When you view the file in the repository, it is rendered as a flow chart.
|
||||||

|
|
||||||
|

|
||||||
|
|
||||||
### Troubleshooting Mermaid files
|
### Troubleshooting Mermaid files
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
1. Click **Propose new file.**
|
1. Click **Propose new file.**
|
||||||

|
|
||||||
|
|||||||