Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 112 KiB |
@@ -48,7 +48,7 @@ By making security reporting instructions clearly available, you make it easy fo
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.sidebar-security %}
|
||||
3. In the left sidebar, click **Security policy**.
|
||||
3. In the left sidebar, under "Reporting", click **{% octicon "law" aria-hidden="true" %} Policy**.
|
||||
4. Click **Start setup**.
|
||||
5. In the new _SECURITY.md_ file, add information about supported versions of your project and how to report a vulnerability.
|
||||
{% data reusables.files.write_commit_message %}
|
||||
|
||||
@@ -33,7 +33,7 @@ Open source licenses enable others to freely use, change, and distribute the pro
|
||||
{% data reusables.files.write_commit_message %}
|
||||
{% data reusables.files.choose_commit_branch %}
|
||||
{% data reusables.files.choose-commit-email %}
|
||||
1. Click **Commit new file**.
|
||||
{% data reusables.files.propose_file_change %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -48,7 +48,7 @@ Open source licenses enable others to freely use, change, and distribute the pro
|
||||
{% data reusables.files.choose-commit-email %}
|
||||
7. Below the commit message fields, decide whether to add your commit to the current branch or to a new branch. If your current branch is `main`, you should choose to create a new branch for your commit and then create a pull request. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)".
|
||||

|
||||
1. Click **Commit new file**.
|
||||
{% data reusables.files.propose_file_change %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ Files that you add to a repository via a browser are limited to {% data variable
|
||||
|
||||

|
||||
1. To select the files you want to upload, drag and drop the file or folder, or click **choose your files**.
|
||||
{% data reusables.files.write_commit_message %}
|
||||
{% data reusables.files.commit-message %}
|
||||
{% data reusables.files.choose_commit_branch %}
|
||||
1. Click **Commit changes**.
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@ If the file{% ifversion fpt or ghes or ghec %} or directory{% endif %} you delet
|
||||
## Deleting a file
|
||||
|
||||
1. Browse to the file in your repository that you want to delete.
|
||||
2. At the top of the file, click {% octicon "trash" aria-label="The trash icon" %}.
|
||||
{% data reusables.files.write_commit_message %}
|
||||
1. In the top-right corner, select the {% octicon "kebab-horizontal" aria-label="More options" %} dropdown menu, then click **Delete file**.
|
||||
{% data reusables.files.commit-message %}
|
||||
{% data reusables.files.choose-commit-email %}
|
||||
{% data reusables.files.choose_commit_branch %}
|
||||
{% data reusables.files.propose_file_change %}
|
||||
@@ -42,7 +42,7 @@ If the file{% ifversion fpt or ghes or ghec %} or directory{% endif %} you delet
|
||||
|
||||

|
||||
1. Review the files you will delete.
|
||||
{% data reusables.files.write_commit_message %}
|
||||
{% data reusables.files.commit-message %}
|
||||
{% data reusables.files.choose-commit-email %}
|
||||
{% data reusables.files.choose_commit_branch %}
|
||||
{% data reusables.files.propose_file_change %}
|
||||
|
||||
@@ -52,6 +52,6 @@ When you edit a file in another user's repository, we'll automatically [fork the
|
||||
{% data reusables.files.preview_change %}
|
||||
{% data reusables.files.write_commit_message %}
|
||||
{% data reusables.files.choose-commit-email %}
|
||||
1. Click **Propose file change**.
|
||||
1. Click **Propose changes**.
|
||||
1. Type a title and description for your pull request.
|
||||
1. Click **Create pull request**.
|
||||
1
data/reusables/files/commit-message.md
Normal file
1
data/reusables/files/commit-message.md
Normal file
@@ -0,0 +1 @@
|
||||
1. In the "Commit message" field, type a short, meaningful commit message that describes the change you made to the file. You can attribute the commit to more than one author in the commit message. For more information, see "[AUTOTITLE](/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors)."
|
||||
@@ -1 +1 @@
|
||||
1. Click **Propose file change**.
|
||||
1. Click **Commit changes** or **Propose changes**.
|
||||
|
||||
@@ -1 +1 @@
|
||||
1. Click **Propose new file.**
|
||||
1. Click **Commit changes** or **Propose changes**.
|
||||
|
||||
Reference in New Issue
Block a user