moves categories from github to getting started and adds redirects
This commit is contained in:
@@ -4,6 +4,7 @@ intro: 'If you have source code in Subversion, Mercurial, Team Foundation Versio
|
||||
redirect_from:
|
||||
- /articles/about-github-importer
|
||||
- /github/importing-your-projects-to-github/about-github-importer
|
||||
- /github/importing-your-projects-to-github/importing-source-code-to-github/about-github-importer
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /articles/add-an-existing-project-to-github
|
||||
- /articles/adding-an-existing-project-to-github-using-the-command-line
|
||||
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
|
||||
- /github/importing-your-projects-to-github/importing-source-code-to-github/adding-an-existing-project-to-github-using-the-command-line
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -34,14 +35,14 @@ shortTitle: Add a project locally
|
||||
git init -b main
|
||||
```
|
||||
|
||||
1. Stage and commit all the files in your project
|
||||
1. Stage and commit all the files in your project
|
||||
|
||||
```shell
|
||||
git add . && git commit -m "initial commit"
|
||||
```
|
||||
|
||||
1. To create a repository for your project on GitHub, use the `gh repo create` subcommand. When prompted, select **Push an existing local repository to GitHub** and enter the desired name for your repository. If you want your project to belong to an organization instead of your user account, specify the organization name and project name with `organization-name/project-name`.
|
||||
|
||||
|
||||
1. Follow the interactive prompts. To add the remote and push the repository, confirm yes when asked to add the remote and push the commits to the current branch.
|
||||
|
||||
1. Alternatively, to skip all the prompts, supply the path to the repository with the `--source` flag and pass a visibility flag (`--public`, `--private`, or `--internal`). For example, `gh repo create --source=. --public`. Specify a remote with the `--remote` flag. To push your commits, pass the `--push` flag. For more information about possible arguments, see the [GitHub CLI manual](https://cli.github.com/manual/gh_repo_create).
|
||||
@@ -4,6 +4,7 @@ intro: '{% ifversion fpt %}If [GitHub Importer](/articles/importing-a-repository
|
||||
redirect_from:
|
||||
- /articles/importing-a-git-repository-using-the-command-line
|
||||
- /github/importing-your-projects-to-github/importing-a-git-repository-using-the-command-line
|
||||
- /github/importing-your-projects-to-github/importing-source-code-to-github/importing-a-git-repository-using-the-command-line
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /articles/importing-from-other-version-control-systems-to-github
|
||||
- /articles/importing-a-repository-with-github-importer
|
||||
- /github/importing-your-projects-to-github/importing-a-repository-with-github-importer
|
||||
- /github/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -7,6 +7,7 @@ redirect_from:
|
||||
- /articles/importing-an-external-git-repo
|
||||
- /articles/importing-your-project-to-github
|
||||
- /articles/importing-source-code-to-github
|
||||
- /github/importing-your-projects-to-github/importing-source-code-to-github
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -21,4 +22,3 @@ children:
|
||||
- /source-code-migration-tools
|
||||
shortTitle: Import code to GitHub
|
||||
---
|
||||
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /articles/importing-from-subversion
|
||||
- /articles/source-code-migration-tools
|
||||
- /github/importing-your-projects-to-github/source-code-migration-tools
|
||||
- /github/importing-your-projects-to-github/importing-source-code-to-github/source-code-migration-tools
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -4,6 +4,7 @@ intro: 'During an import, you can match commits in your repository with the GitH
|
||||
redirect_from:
|
||||
- /articles/updating-commit-author-attribution-with-github-importer
|
||||
- /github/importing-your-projects-to-github/updating-commit-author-attribution-with-github-importer
|
||||
- /github/importing-your-projects-to-github/importing-source-code-to-github/updating-commit-author-attribution-with-github-importer
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -6,6 +6,7 @@ redirect_from:
|
||||
- /categories/67/articles
|
||||
- /categories/importing
|
||||
- /categories/importing-your-projects-to-github
|
||||
- /github/importing-your-projects-to-github
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -15,4 +16,3 @@ children:
|
||||
- /importing-source-code-to-github
|
||||
- /working-with-subversion-on-github
|
||||
---
|
||||
|
||||
@@ -3,6 +3,7 @@ title: Working with Subversion on GitHub
|
||||
intro: You can use Subversion clients and some Subversion workflows and properties with GitHub.
|
||||
redirect_from:
|
||||
- /articles/working-with-subversion-on-github
|
||||
- /github/importing-your-projects-to-github/working-with-subversion-on-github
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -13,4 +14,3 @@ children:
|
||||
- /subversion-properties-supported-by-github
|
||||
shortTitle: Work with Subversion on GitHub
|
||||
---
|
||||
|
||||
@@ -4,6 +4,7 @@ intro: 'There are several Subversion workflows and properties that are similar t
|
||||
redirect_from:
|
||||
- /articles/subversion-properties-supported-by-github
|
||||
- /github/importing-your-projects-to-github/subversion-properties-supported-by-github
|
||||
- /github/importing-your-projects-to-github/working-with-subversion-on-github/subversion-properties-supported-by-github
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -4,6 +4,7 @@ intro: GitHub repositories can be accessed from both Git and Subversion (SVN) cl
|
||||
redirect_from:
|
||||
- /articles/support-for-subversion-clients
|
||||
- /github/importing-your-projects-to-github/support-for-subversion-clients
|
||||
- /github/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /articles/what-are-the-differences-between-svn-and-git
|
||||
- /articles/what-are-the-differences-between-subversion-and-git
|
||||
- /github/importing-your-projects-to-github/what-are-the-differences-between-subversion-and-git
|
||||
- /github/importing-your-projects-to-github/working-with-subversion-on-github/what-are-the-differences-between-subversion-and-git
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -57,7 +57,10 @@ children:
|
||||
- /learning-about-github
|
||||
- /signing-up-for-github
|
||||
- /using-github
|
||||
- /writing-on-github
|
||||
- /importing-your-projects-to-github
|
||||
- /exploring-projects-on-github
|
||||
- /privacy-on-github
|
||||
- /getting-started-with-git
|
||||
- /using-git
|
||||
---
|
||||
|
||||
@@ -3,6 +3,7 @@ title: About GitHub's use of your data
|
||||
redirect_from:
|
||||
- /articles/about-github-s-use-of-your-data
|
||||
- /articles/about-githubs-use-of-your-data
|
||||
- /github/understanding-how-github-uses-and-protects-your-data/about-githubs-use-of-your-data
|
||||
intro: '{% data variables.product.product_name %} uses your repository''s data to connect you to relevant tools, people, projects, and information.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
@@ -12,7 +13,7 @@ topics:
|
||||
- Legal
|
||||
shortTitle: GitHub's use of your data
|
||||
---
|
||||
|
||||
|
||||
## About {% data variables.product.product_name %}'s use of your data
|
||||
|
||||
{% data variables.product.product_name %} aggregates metadata and parses content patterns for the purposes of delivering generalized insights within the product. It uses data from public repositories, and also uses metadata and aggregate data from private repositories when a repository's owner has chosen to share the data with {% data variables.product.product_name %} through an opt-in. If you opt a private repository into data use, then it will perform read-only analysis of that specific private repository.
|
||||
@@ -1,7 +1,8 @@
|
||||
---
|
||||
title: Understanding how GitHub uses and protects your data
|
||||
title: Privacy on GitHub
|
||||
redirect_from:
|
||||
- /categories/understanding-how-github-uses-and-protects-your-data
|
||||
- /github/understanding-how-github-uses-and-protects-your-data
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -10,6 +11,5 @@ children:
|
||||
- /requesting-an-archive-of-your-personal-accounts-data
|
||||
- /managing-data-use-settings-for-your-private-repository
|
||||
- /opting-into-or-out-of-the-github-archive-program-for-your-public-repository
|
||||
shortTitle: How GitHub protects data
|
||||
shortTitle: Privacy on GitHub
|
||||
---
|
||||
|
||||
@@ -4,6 +4,7 @@ intro: 'To help {% data variables.product.product_name %} connect you to relevan
|
||||
redirect_from:
|
||||
- /articles/opting-into-or-out-of-data-use-for-your-private-repository
|
||||
- /github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-data-use-for-your-private-repository
|
||||
- /github/understanding-how-github-uses-and-protects-your-data/managing-data-use-settings-for-your-private-repository
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Opting into or out of the GitHub Archive Program for your public repository
|
||||
intro: 'You can manage whether {% data variables.product.prodname_dotcom %} includes your public repository in the {% data variables.product.prodname_archive %} to help ensure the long-term preservation of the world''s open source software.'
|
||||
permissions: 'People with admin permissions to a public repository can opt into or out of the {% data variables.product.prodname_archive %}.'
|
||||
redirect_from:
|
||||
- /github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-the-github-archive-program-for-your-public-repository
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -3,6 +3,7 @@ title: Requesting an archive of your personal account’s data
|
||||
redirect_from:
|
||||
- /articles/requesting-an-archive-of-your-personal-account-s-data
|
||||
- /articles/requesting-an-archive-of-your-personal-accounts-data
|
||||
- /github/understanding-how-github-uses-and-protects-your-data/requesting-an-archive-of-your-personal-accounts-data
|
||||
intro: '{% data reusables.user_settings.export-data %}'
|
||||
versions:
|
||||
fpt: '*'
|
||||
@@ -8,6 +8,7 @@ redirect_from:
|
||||
- /articles/deleting-an-anonymous-gist
|
||||
- /articles/creating-gists
|
||||
- /github/writing-on-github/creating-gists
|
||||
- /github/writing-on-github/editing-and-sharing-content-with-gists/creating-gists
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -74,11 +75,11 @@ Alternatively, you can drag and drop a text file from your desktop directly into
|
||||
3. Type an optional description and name for your gist.
|
||||

|
||||
|
||||
4. Type the text of your gist into the gist text box.
|
||||
4. Type the text of your gist into the gist text box.
|
||||

|
||||
|
||||
5. Optionally, to create {% ifversion ghae %}an internal{% else %}a public{% endif %} gist, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %}, then click **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||
5. Optionally, to create {% ifversion ghae %}an internal{% else %}a public{% endif %} gist, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %}, then click **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||
![Drop-down menu to select gist visibility]{% ifversion ghae %}(/assets/images/help/gist/gist-visibility-drop-down-ae.png){% else %}(/assets/images/help/gist/gist-visibility-drop-down.png){% endif %}
|
||||
|
||||
6. Click **Create secret Gist** or **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||
6. Click **Create secret Gist** or **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||

|
||||
@@ -5,6 +5,7 @@ permissions: '{% data reusables.enterprise-accounts.emu-permission-gist %}'
|
||||
redirect_from:
|
||||
- /articles/forking-and-cloning-gists
|
||||
- /github/writing-on-github/forking-and-cloning-gists
|
||||
- /github/writing-on-github/editing-and-sharing-content-with-gists/forking-and-cloning-gists
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /categories/23/articles
|
||||
- /categories/gists
|
||||
- /articles/editing-and-sharing-content-with-gists
|
||||
- /github/writing-on-github/editing-and-sharing-content-with-gists
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -15,4 +16,3 @@ children:
|
||||
- /forking-and-cloning-gists
|
||||
shortTitle: Share content with gists
|
||||
---
|
||||
|
||||
@@ -4,6 +4,7 @@ intro: GitHub combines a syntax for formatting text called GitHub Flavored Markd
|
||||
redirect_from:
|
||||
- /articles/about-writing-and-formatting-on-github
|
||||
- /github/writing-on-github/about-writing-and-formatting-on-github
|
||||
- /github/writing-on-github/getting-started-with-writing-and-formatting-on-github/about-writing-and-formatting-on-github
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -24,7 +25,7 @@ Every comment field on {% data variables.product.product_name %} contains a text
|
||||
{% if fixed-width-font-gfm-fields %}
|
||||
|
||||
## Enabling fixed-width fonts in the editor
|
||||
|
||||
|
||||
You can enable a fixed-width font in every comment field on {% data variables.product.product_name %}. Each character in a fixed-width, or monospace, font occupies the same horizontal space which can make it easier to edit advanced Markdown structures such as tables and code snippets.
|
||||
|
||||

|
||||
@@ -4,6 +4,7 @@ intro: Create sophisticated formatting for your prose and code on GitHub with si
|
||||
redirect_from:
|
||||
- /articles/basic-writing-and-formatting-syntax
|
||||
- /github/writing-on-github/basic-writing-and-formatting-syntax
|
||||
- /github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -114,7 +115,7 @@ You can display an image by adding `!` and wrapping the alt text in`[ ]`. Then w
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Tip:** When you want to display an image which is in your repository, you should use relative links instead of absolute links.
|
||||
**Tip:** When you want to display an image which is in your repository, you should use relative links instead of absolute links.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
@@ -10,9 +10,10 @@ versions:
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
redirect_from:
|
||||
- /github/writing-on-github/getting-started-with-writing-and-formatting-on-github
|
||||
children:
|
||||
- /about-writing-and-formatting-on-github
|
||||
- /basic-writing-and-formatting-syntax
|
||||
shortTitle: Start writing on GitHub
|
||||
---
|
||||
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /articles/github-flavored-markdown
|
||||
- /articles/writing-on-github
|
||||
- /categories/writing-on-github
|
||||
- /github/writing-on-github
|
||||
intro: 'You can structure the information shared on {% data variables.product.product_name %} with various formatting options.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
@@ -17,4 +18,3 @@ children:
|
||||
- /working-with-saved-replies
|
||||
- /editing-and-sharing-content-with-gists
|
||||
---
|
||||
|
||||
@@ -6,6 +6,7 @@ redirect_from:
|
||||
- /articles/issue-attachments
|
||||
- /articles/file-attachments-on-issues-and-pull-requests
|
||||
- /github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests
|
||||
- /github/writing-on-github/working-with-advanced-formatting/attaching-files
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -4,6 +4,7 @@ intro: 'References to URLs, issues, pull requests, and commits are automatically
|
||||
redirect_from:
|
||||
- /articles/autolinked-references-and-urls
|
||||
- /github/writing-on-github/autolinked-references-and-urls
|
||||
- /github/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/creating-a-permanent-link-to-a-code-snippet
|
||||
- /articles/creating-a-permanent-link-to-a-code-snippet
|
||||
- /github/managing-your-work-on-github/creating-a-permanent-link-to-a-code-snippet
|
||||
- /github/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -4,6 +4,7 @@ intro: Share samples of code with fenced code blocks and enabling syntax highlig
|
||||
redirect_from:
|
||||
- /articles/creating-and-highlighting-code-blocks
|
||||
- /github/writing-on-github/creating-and-highlighting-code-blocks
|
||||
- /github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -36,7 +37,7 @@ To display triple backticks in a fenced code block, wrap them inside quadruple b
|
||||
|
||||
|
||||
<pre>
|
||||
````
|
||||
````
|
||||
```
|
||||
Look! You can see my backticks.
|
||||
```
|
||||
@@ -3,6 +3,7 @@ title: Working with advanced formatting
|
||||
intro: 'Formatting like tables, syntax highlighting, and automatic linking allows you to arrange complex information clearly in your pull requests, issues, and comments.'
|
||||
redirect_from:
|
||||
- /articles/working-with-advanced-formatting
|
||||
- /github/writing-on-github/working-with-advanced-formatting
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -18,4 +19,3 @@ children:
|
||||
- /using-keywords-in-issues-and-pull-requests
|
||||
shortTitle: Work with advanced formatting
|
||||
---
|
||||
|
||||
@@ -6,6 +6,9 @@ versions:
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
redirect_from:
|
||||
- /github/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
|
||||
|
||||
shortTitle: Collapsed sections
|
||||
---
|
||||
## Creating a collapsed section
|
||||
@@ -4,6 +4,7 @@ intro: 'You can build tables to organize information in comments, issues, pull r
|
||||
redirect_from:
|
||||
- /articles/organizing-information-with-tables
|
||||
- /github/writing-on-github/organizing-information-with-tables
|
||||
- /github/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -6,6 +6,9 @@ versions:
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
redirect_from:
|
||||
- /github/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests
|
||||
|
||||
topics:
|
||||
- Issues
|
||||
- Pull requests
|
||||
@@ -4,6 +4,8 @@ intro: You can use a saved reply to respond to an issue or pull request.
|
||||
redirect_from:
|
||||
- /articles/about-saved-replies
|
||||
- /github/writing-on-github/about-saved-replies
|
||||
- /github/writing-on-github/working-with-saved-replies/about-saved-replies
|
||||
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -4,6 +4,7 @@ intro: 'If you frequently add the same comment over and over, you can create a s
|
||||
redirect_from:
|
||||
- /articles/creating-a-saved-reply
|
||||
- /github/writing-on-github/creating-a-saved-reply
|
||||
- /github/writing-on-github/working-with-saved-replies/creating-a-saved-reply
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -4,6 +4,7 @@ intro: 'If you find that you''re no longer using a saved reply, you can delete i
|
||||
redirect_from:
|
||||
- /articles/deleting-a-saved-reply
|
||||
- /github/writing-on-github/deleting-a-saved-reply
|
||||
- /github/writing-on-github/working-with-saved-replies/deleting-a-saved-reply
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /articles/changing-a-saved-reply
|
||||
- /articles/editing-a-saved-reply
|
||||
- /github/writing-on-github/editing-a-saved-reply
|
||||
- /github/writing-on-github/working-with-saved-replies/editing-a-saved-reply
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -3,6 +3,7 @@ title: Working with saved replies
|
||||
intro: 'To save time and make sure you''re delivering a consistent message, you can add saved replies to issue and pull request comments.'
|
||||
redirect_from:
|
||||
- /articles/working-with-saved-replies
|
||||
- /github/writing-on-github/working-with-saved-replies
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -16,4 +17,3 @@ children:
|
||||
- /using-saved-replies
|
||||
shortTitle: Work with saved replies
|
||||
---
|
||||
|
||||
@@ -4,6 +4,7 @@ intro: 'When commenting on an issue or pull request, you can add a saved reply t
|
||||
redirect_from:
|
||||
- /articles/using-saved-replies
|
||||
- /github/writing-on-github/using-saved-replies
|
||||
- /github/writing-on-github/working-with-saved-replies/using-saved-replies
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -12,12 +12,9 @@ versions:
|
||||
ghae: '*'
|
||||
children:
|
||||
- /copilot
|
||||
- /writing-on-github
|
||||
- /importing-your-projects-to-github
|
||||
- /customizing-your-github-workflow
|
||||
- /extending-github
|
||||
- /working-with-github-support
|
||||
- /understanding-how-github-uses-and-protects-your-data
|
||||
- /site-policy
|
||||
- /site-policy-deprecated
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user