diff --git a/assets/images/help/stars/add-repo-to-list.png b/assets/images/help/stars/add-repo-to-list.png index 8cbbd0f2a7..9d303efa7d 100644 Binary files a/assets/images/help/stars/add-repo-to-list.png and b/assets/images/help/stars/add-repo-to-list.png differ diff --git a/assets/images/help/stars/create-list-with-description.png b/assets/images/help/stars/create-list-with-description.png deleted file mode 100644 index 6563ac680f..0000000000 Binary files a/assets/images/help/stars/create-list-with-description.png and /dev/null differ diff --git a/assets/images/help/stars/create-list.png b/assets/images/help/stars/create-list.png deleted file mode 100644 index 04497392cc..0000000000 Binary files a/assets/images/help/stars/create-list.png and /dev/null differ diff --git a/assets/images/help/stars/edit-list-options.png b/assets/images/help/stars/edit-list-options.png index a4538dc1af..b7de58146b 100644 Binary files a/assets/images/help/stars/edit-list-options.png and b/assets/images/help/stars/edit-list-options.png differ diff --git a/assets/images/help/stars/lists-overview-on-stars-page.png b/assets/images/help/stars/lists-overview-on-stars-page.png index 2e200610ca..498cab1abf 100644 Binary files a/assets/images/help/stars/lists-overview-on-stars-page.png and b/assets/images/help/stars/lists-overview-on-stars-page.png differ diff --git a/assets/images/help/stars/navigate-to-stars-page.png b/assets/images/help/stars/navigate-to-stars-page.png index 5ad409bb39..4c3c3c201a 100644 Binary files a/assets/images/help/stars/navigate-to-stars-page.png and b/assets/images/help/stars/navigate-to-stars-page.png differ diff --git a/assets/images/help/stars/search-bar-for-starred-repos.png b/assets/images/help/stars/search-bar-for-starred-repos.png deleted file mode 100644 index ab606d33f9..0000000000 Binary files a/assets/images/help/stars/search-bar-for-starred-repos.png and /dev/null differ diff --git a/assets/images/help/stars/starring-a-repository.png b/assets/images/help/stars/starring-a-repository.png index 9d937b6049..cad20f1b9d 100644 Binary files a/assets/images/help/stars/starring-a-repository.png and b/assets/images/help/stars/starring-a-repository.png differ diff --git a/assets/images/help/stars/stars-dropdown-on-repo.png b/assets/images/help/stars/stars-dropdown-on-repo.png index 2d5c41dbf3..9eafd2fbfa 100644 Binary files a/assets/images/help/stars/stars-dropdown-on-repo.png and b/assets/images/help/stars/stars-dropdown-on-repo.png differ diff --git a/assets/images/help/stars/stars_filter_language.png b/assets/images/help/stars/stars_filter_language.png deleted file mode 100644 index dedbc15bf1..0000000000 Binary files a/assets/images/help/stars/stars_filter_language.png and /dev/null differ diff --git a/assets/images/help/stars/stars_filter_topic.png b/assets/images/help/stars/stars_filter_topic.png deleted file mode 100644 index 4f987d5f3e..0000000000 Binary files a/assets/images/help/stars/stars_filter_topic.png and /dev/null differ diff --git a/assets/images/help/stars/stars_search_bar.png b/assets/images/help/stars/stars_search_bar.png deleted file mode 100644 index c32f9bc7f6..0000000000 Binary files a/assets/images/help/stars/stars_search_bar.png and /dev/null differ diff --git a/assets/images/help/stars/stars_sort_menu.png b/assets/images/help/stars/stars_sort_menu.png deleted file mode 100644 index 2a5c823de2..0000000000 Binary files a/assets/images/help/stars/stars_sort_menu.png and /dev/null differ diff --git a/assets/images/help/stars/unstarring-a-repository.png b/assets/images/help/stars/unstarring-a-repository.png index 4ae3b1c34a..53f7ef9bbe 100644 Binary files a/assets/images/help/stars/unstarring-a-repository.png and b/assets/images/help/stars/unstarring-a-repository.png differ diff --git a/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md b/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md index e792d5d3fe..bb25e28291 100644 --- a/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md +++ b/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md @@ -61,7 +61,7 @@ You can search the database, and use qualifiers to narrow your search. For examp {% endif %}| `type:unreviewed`| [**type:unreviewed**](https://github.com/advisories?query=type%3Aunreviewed) will show unreviewed advisories. | | `GHSA-ID`| [**GHSA-49wp-qq6x-g2rf**](https://github.com/advisories?query=GHSA-49wp-qq6x-g2rf) will show the advisory with this {% data variables.product.prodname_advisory_database %} ID. | | `CVE-ID`| [**CVE-2020-28482**](https://github.com/advisories?query=CVE-2020-28482) will show the advisory with this CVE ID number. | -| `ecosystem:ECOSYSTEM`| [**ecosystem:npm**](https://github.com/advisories?utf8=%E2%9C%93&query=ecosystem%3Anpm) will show only advisories affecting NPM packages. | +| `ecosystem:ECOSYSTEM`| [**ecosystem:npm**](https://github.com/advisories?utf8=%E2%9C%93&query=ecosystem%3Anpm) will show only advisories affecting npm packages. | | `severity:LEVEL`| [**severity:high**](https://github.com/advisories?utf8=%E2%9C%93&query=severity%3Ahigh) will show only advisories with a high severity level. | | `affects:LIBRARY`| [**affects:lodash**](https://github.com/advisories?utf8=%E2%9C%93&query=affects%3Alodash) will show only advisories affecting the lodash library. | | `cwe:ID`| [**cwe:352**](https://github.com/advisories?query=cwe%3A352) will show only advisories with this CWE number. | diff --git a/content/copilot/getting-started-with-github-copilot.md b/content/copilot/getting-started-with-github-copilot.md index cc86c7bbe1..a27ac15a17 100644 --- a/content/copilot/getting-started-with-github-copilot.md +++ b/content/copilot/getting-started-with-github-copilot.md @@ -8,6 +8,10 @@ redirect_from: - /github/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-a-jetbrains-ide - /github/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim - /github/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio + - /copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio-code + - /copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-a-jetbrains-ide + - /copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim + - /copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio versions: feature: copilot topics: diff --git a/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md b/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md index 2650f2c3b6..ec209583e0 100644 --- a/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md +++ b/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md @@ -36,9 +36,9 @@ Starring a repository is a simple two-step process. {% data reusables.repositories.navigate-to-repo %} 1. In the top-right corner of the page, click **Star**. - -1. Optionally, to unstar a previously starred repository, click **Unstar**. - + +1. Optionally, to unstar a previously starred repository, click **Starred**. This will remove the repository from your starred list. + {% ifversion fpt or ghec %} @@ -61,38 +61,34 @@ To view everyone who has starred a repository, add `/stargazers` to the end of t Curate repositories that you've starred with public lists. You can create public lists that appear on your stars page at `https://github.com/USERNAME?tab=stars`. -If you add a private repository to a list, then the private repository will only appear in your list for people with `read` access to the repository. + - +If you add a private repository to a list, then the private repository will only appear in your list for people with `read` access to the repository. You can add a repository to an existing or new list wherever you see a repository's **Star** or **Starred** dropdown menu, whether on a repository page or in a list of starred repositories. - + - ### Creating a list {% data reusables.stars.stars-page-navigation %} 2. Next to "Lists", click **Create list**. -  3. Enter a name and description for your list and click **Create**. -  ### Adding a repository to a list {% data reusables.stars.stars-page-navigation %} -2. Find the repository you want to add to your list. -  +2. Find the repository you want to add to your list by typing it into the search bar. 3. Next to the repository you want to add, use the **Starred** dropdown menu and select your list. -  +  ### Removing a repository from your list {% data reusables.stars.stars-page-navigation %} 2. Select your list. -3. Next to the repository you want to remove, use the **Starred** dropdown menu and deselect your list. -  +3. Next to the repository you want to remove, use the **Starred** drop-down menu and deselect your list. +  ### Editing a list name or description @@ -100,14 +96,14 @@ You can add a repository to an existing or new list wherever you see a repositor 1. Select the list you want to edit. 2. Click **Edit list**. 3. Update the name or description and click **Save list**. -  +  ### Deleting a list {% data reusables.stars.stars-page-navigation %} 2. Select the list you want to delete. 3. Click **Delete list**. -  +  4. To confirm, click **Delete**. {% endif %} @@ -116,9 +112,8 @@ You can add a repository to an existing or new list wherever you see a repositor You can use the search bar on your {% data variables.explore.your_stars_page %} to quickly find repositories and topics you've starred. -1. Go to your {% data variables.explore.your_stars_page %}. +{% data reusables.stars.stars-page-navigation %} 1. Use the search bar to find your starred repositories or topics by their name. - The search bar only searches based on the name of a repository or topic, and not on any other qualifiers (such as the size of the repository or when it was last updated). @@ -126,13 +121,11 @@ The search bar only searches based on the name of a repository or topic, and not You can use sorting or filtering to customize how you see starred repositories and topics on your stars page. -1. Go to your {% data variables.explore.your_stars_page %}. -1. To sort stars, select the **Sort** drop-down menu, then select **Recently starred**, **Recently active**, or **Most stars**. - -1. To filter your list of stars based on their language, click on the desired language under **Filter by languages**. - -1. To filter your list of stars based on repository or topic, click on the desired option. - +{% data reusables.stars.stars-page-navigation %} +1. To sort stars, select the **Sort by:** dropdown menu, then select **Recently starred**, **Recently active**, or **Most stars**. +1. To filter your list of stars based on their language, click on the desired language under the **Language** dropdown menu. +1. To filter your list of stars based on repository type, click on the desired option under the **Type:** dropdown menu. + ## Further reading diff --git a/content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md b/content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md index c3a6eb4a67..03db04ac65 100644 --- a/content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md +++ b/content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md @@ -240,7 +240,7 @@ run-npm-build:
YYYY-MM-DDTHH:MM:SS+00:00 | **[cats created:2017-01-01T01:00:00+07:00..2017-03-01T15:30:15+07:00](https://github.com/search?utf8=%E2%9C%93&q=cats+created%3A2017-01-01T01%3A00%3A00%2B07%3A00..2017-03-01T15%3A30%3A15%2B07%3A00&type=Issues)** matches issues created between January 1, 2017 at 1 a.m. with a UTC offset of `07:00` and March 1, 2017 at 3 p.m. with a UTC offset of `07:00`.
YYYY-MM-DDTHH:MM:SSZ | **[cats created:2016-03-21T14:11:00Z..2016-04-07T20:45:00Z](https://github.com/search?utf8=%E2%9C%93&q=cats+created%3A2016-03-21T14%3A11%3A00Z..2016-04-07T20%3A45%3A00Z&type=Issues)** matches issues created between March 21, 2016 at 2:11pm and April 7, 2016 at 8:45pm.
-## Exclude certain results
+## Exclude results that match a qualifier
+
+You can narrow down search results by excluding one or more subsets. To exclude all results that are matched by a qualifier, prefix the search qualifier with a hyphen (`-`).
+
+Query | Example
+------------- | -------------
+-QUALIFIER | **[`cats stars:>10 -language:javascript`](https://github.com/search?q=cats+stars%3A>10+-language%3Ajavascript&type=Repositories)** matches repositories with the word "cats" that have more than 10 stars but are not written in JavaScript.
+-QUALIFIER | **[`mentions:defunkt -org:github`](https://github.com/search?utf8=%E2%9C%93&q=mentions%3Adefunkt+-org%3Agithub&type=Issues)** matches issues mentioning @defunkt that are not in repositories in the GitHub organization.
+
+## Exclude results with specific keywords
You can exclude results containing a certain word, using the `NOT` syntax. The `NOT` operator can only be used for string keywords. It does not work for numerals or dates.
@@ -70,13 +79,6 @@ Query | Example
------------- | -------------
`NOT` | **[hello NOT world](https://github.com/search?q=hello+NOT+world&type=Repositories)** matches repositories that have the word "hello" but not the word "world."
-Another way you can narrow down search results is to exclude certain subsets. You can prefix any search qualifier with a `-` to exclude all results that are matched by that qualifier.
-
-Query | Example
-------------- | -------------
--QUALIFIER | **[`cats stars:>10 -language:javascript`](https://github.com/search?q=cats+stars%3A>10+-language%3Ajavascript&type=Repositories)** matches repositories with the word "cats" that have more than 10 stars but are not written in JavaScript.
--QUALIFIER | **[`mentions:defunkt -org:github`](https://github.com/search?utf8=%E2%9C%93&q=mentions%3Adefunkt+-org%3Agithub&type=Issues)** matches issues mentioning @defunkt that are not in repositories in the GitHub organization
-
## Use quotation marks for queries with whitespace
If your search query contains whitespace, you will need to surround it with quotation marks. For example:
diff --git a/contributing/content-style-guide.md b/contributing/content-style-guide.md
index 9db2a35a8b..d808410a78 100644
--- a/contributing/content-style-guide.md
+++ b/contributing/content-style-guide.md
@@ -53,11 +53,12 @@ Style your CTAs using the following format.
### Code blocks
-Keep lines in code samples to about 60 characters, to avoid requiring readers to scroll horizontally in the code block. Locate explanatory text before the code block, rather than using comments inside the code block.
+Keep lines in code samples to about 60 characters, to avoid requiring readers to scroll horizontally in the code block. Locate explanatory text before the code block, rather than using comments inside the code block. See "[Code sample syntax highlighting](./content-markup-reference.md#code-sample-syntax-highlighting)" for more information on the syntax and formatting of code blocks.
Within code blocks:
- Do not use markup before the command output.
- Only use `$` before the command itself if you’re showing the command’s output in the same block.
+ - If you show a command and the command's output, do not make the code block copyable.
- If your code example includes `{` or `}` that should render, wrap that section in `{% raw %}` `{% endraw %}` to disable Liquid processing for that section.
- If your code example includes content that should be parsed (for example, HTML tags to format text), wrap that section in `` `` tags to parse rather than escape the content in the section. - **Use**: