1
0
mirror of synced 2025-12-23 11:54:18 -05:00

update links and redirects for working with forks and creating and editing commits

This commit is contained in:
Jules Parker
2021-10-07 11:58:49 +02:00
parent 19c7c0ab74
commit 202749a8fc
33 changed files with 48 additions and 38 deletions

View File

@@ -25,7 +25,7 @@ Due to the complexity of searching code, there are some restrictions on how sear
{% ifversion fpt or ghes %}
- {% data reusables.search.required_login %}{% endif %}
- Code in [forks](/articles/about-forks) is only searchable if the fork has more stars than the parent repository. Forks with fewer stars than the parent repository are **not** indexed for code search. To include forks with more stars than their parent in the search results, you will need to add `fork:true` or `fork:only` to your query. For more information, see "[Searching in forks](/articles/searching-in-forks)."
- Code in [forks](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks) is only searchable if the fork has more stars than the parent repository. Forks with fewer stars than the parent repository are **not** indexed for code search. To include forks with more stars than their parent in the search results, you will need to add `fork:true` or `fork:only` to your query. For more information, see "[Searching in forks](/articles/searching-in-forks)."
- Only the _default branch_ is indexed for code search.{% ifversion fpt %}
- Only files smaller than 384 KB are searchable.{% else %}* Only files smaller than 5 MB are searchable.
- Only the first 500 KB of each file is searchable.{% endif %}

View File

@@ -1,6 +1,6 @@
---
title: Searching in forks
intro: 'By default, [forks](/articles/about-forks) are not shown in search results. You can choose to include them in repository searches, and in code searches if they meet certain criteria.'
intro: 'By default, [forks](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks) are not shown in search results. You can choose to include them in repository searches, and in code searches if they meet certain criteria.'
redirect_from:
- /articles/searching-in-forks
- /github/searching-for-information-on-github/searching-in-forks
@@ -26,5 +26,5 @@ The `fork:true` qualifier finds all results that match your search query, includ
## Further reading
- "[About forks](/articles/about-forks)"
- "[About forks](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks)"
- "[About searching on GitHub](/articles/about-searching-on-github)"