1
0
mirror of synced 2025-12-19 18:10:59 -05:00

[Improvement]: Get started (phase 1): Moving "Create a repo" from Quickstart to Repositories (#47448)

Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com>
This commit is contained in:
Rachael Rose Renk
2023-12-13 13:18:44 -07:00
committed by GitHub
parent 97c70307b6
commit c2bcee148e
9 changed files with 12 additions and 31 deletions

View File

@@ -23,7 +23,7 @@ topics:
## Prerequisites ## Prerequisites
To follow {% data variables.product.prodname_dotcom %} flow, you will need a {% data variables.product.prodname_dotcom %} account and a repository. {% ifversion fpt or ghec %}For information on how to create an account, see "[AUTOTITLE](/get-started/quickstart/creating-an-account-on-github)."{% elsif ghes or ghae %}For more information, contact your site administrator.{% endif %} For information on how to create a repository, see "[AUTOTITLE](/get-started/quickstart/create-a-repo)."{% ifversion fpt or ghec %} For information on how to find an existing repository to contribute to, see "[AUTOTITLE](/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)."{% endif %} To follow {% data variables.product.prodname_dotcom %} flow, you will need a {% data variables.product.prodname_dotcom %} account and a repository. {% ifversion fpt or ghec %}For information on how to create an account, see "[AUTOTITLE](/get-started/quickstart/creating-an-account-on-github)."{% elsif ghes or ghae %}For more information, contact your site administrator.{% endif %} For information on how to create a repository, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/quickstart-for-repositories)."{% ifversion fpt or ghec %} For information on how to find an existing repository to contribute to, see "[AUTOTITLE](/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)."{% endif %}
## Following {% data variables.product.prodname_dotcom %} flow ## Following {% data variables.product.prodname_dotcom %} flow

View File

@@ -15,7 +15,6 @@ children:
- /creating-an-account-on-github - /creating-an-account-on-github
- /hello-world - /hello-world
- /set-up-git - /set-up-git
- /create-a-repo
- /fork-a-repo - /fork-a-repo
- /github-flow - /github-flow
- /contributing-to-projects - /contributing-to-projects

View File

@@ -32,7 +32,7 @@ If you want to work with Git locally, but do not want to use the command line, y
If you do not need to work with files locally, {% data variables.product.product_name %} lets you complete many Git-related actions directly in the browser, including: If you do not need to work with files locally, {% data variables.product.product_name %} lets you complete many Git-related actions directly in the browser, including:
- [Creating a repository](/get-started/quickstart/create-a-repo) - [AUTOTITLE](/repositories/creating-and-managing-repositories/quickstart-for-repositories)
- [Forking a repository](/get-started/quickstart/fork-a-repo) - [Forking a repository](/get-started/quickstart/fork-a-repo)
- [Managing files](/repositories/working-with-files/managing-files) - [Managing files](/repositories/working-with-files/managing-files)
- [Being social](/get-started/quickstart/be-social) - [Being social](/get-started/quickstart/be-social)

View File

@@ -23,7 +23,7 @@ featuredLinks:
- /pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request - /pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
- /issues/tracking-your-work-with-issues/creating-an-issue - /issues/tracking-your-work-with-issues/creating-an-issue
- /authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account - /authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
- /get-started/quickstart/create-a-repo - /repositories/creating-and-managing-repositories/quickstart-for-repositories
- /pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally - /pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
- /pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request - /pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request
- /get-started/quickstart/fork-a-repo - /get-started/quickstart/fork-a-repo

View File

@@ -24,7 +24,7 @@ topics:
A repository is the most basic element of {% data variables.product.prodname_dotcom %}. It's a place where you can store your code, your files, and each file's revision history. Repositories can have multiple collaborators and can be either public{% ifversion ghes or ghec %}, internal,{% endif %} or private. A repository is the most basic element of {% data variables.product.prodname_dotcom %}. It's a place where you can store your code, your files, and each file's revision history. Repositories can have multiple collaborators and can be either public{% ifversion ghes or ghec %}, internal,{% endif %} or private.
To create a new repository, go to [https://github.com/new](https://github.com/new). For instructions, see "[AUTOTITLE](/get-started/quickstart/create-a-repo)." To create a new repository, go to [https://github.com/new](https://github.com/new). For instructions, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/quickstart-for-repositories)."
## Repository terminology ## Repository terminology

View File

@@ -14,6 +14,7 @@ topics:
children: children:
- /about-repositories - /about-repositories
- /best-practices-for-repositories - /best-practices-for-repositories
- /quickstart-for-repositories
- /repository-limits - /repository-limits
- /creating-a-new-repository - /creating-a-new-repository
- /creating-a-repository-from-a-template - /creating-a-repository-from-a-template

View File

@@ -1,11 +1,13 @@
--- ---
title: Create a repo title: Quickstart for repositories
type: quick_start
redirect_from: redirect_from:
- /create-a-repo - /create-a-repo
- /articles/create-a-repo - /articles/create-a-repo
- /github/getting-started-with-github/create-a-repo - /github/getting-started-with-github/create-a-repo
- /github/getting-started-with-github/quickstart/create-a-repo - /github/getting-started-with-github/quickstart/create-a-repo
intro: 'To put your project up on {% data variables.product.prodname_dotcom %}, you will need to create a repository for it to live in.' - /get-started/quickstart/create-a-repo
intro: 'Learn how to create a new repository and commit your first change in 5 minutes.'
versions: versions:
fpt: '*' fpt: '*'
ghes: '*' ghes: '*'
@@ -19,28 +21,7 @@ topics:
--- ---
## Create a repository ## Create a repository
{% ifversion fpt or ghec %} {% data variables.product.product_name %} repositories store a variety of projects. In this guide, you'll create a repository and commit your first change.
You can store a variety of projects in {% data variables.product.prodname_dotcom %} repositories, including open source projects. With open source projects, you can share code to make better, more reliable software. You can use repositories to collaborate with others and track your work. For more information, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/about-repositories)." To learn more about open source projects, visit [OpenSource.org](https://opensource.org/about).
{% elsif ghes or ghae %}
You can store a variety of projects in {% data variables.product.product_name %} repositories, including innersource projects. With innersource, you can share code to make better, more reliable software. For more information on innersource, see {% data variables.product.company_short %}'s white paper "[An introduction to innersource](https://resources.github.com/whitepapers/introduction-to-innersource/)."
{% endif %}
{% ifversion fpt or ghec %}
{% note %}
**Notes:**
- You can create public repositories for an open source project. When creating your public repository, make sure to include a [license file](https://choosealicense.com/) that determines how you want your project to be shared with others. {% data reusables.open-source.open-source-guide-repositories %}
- {% data reusables.open-source.open-source-learning %}
- You can also add community health files to your repositories, to set guidelines on how to contribute, keep your repositories safe, and much more. For more information, see "[AUTOTITLE](/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file)."
{% endnote %}
{% endif %}
{% webui %} {% webui %}

View File

@@ -3,7 +3,7 @@ title: Repositories documentation
shortTitle: Repositories shortTitle: Repositories
intro: Learn to use and manage the repositories that allow you to store and collaborate on your project's code. intro: Learn to use and manage the repositories that allow you to store and collaborate on your project's code.
introLinks: introLinks:
quickstart: /get-started/quickstart/create-a-repo quickstart: /repositories/creating-and-managing-repositories/quickstart-for-repositories
overview: /repositories/creating-and-managing-repositories/about-repositories overview: /repositories/creating-and-managing-repositories/about-repositories
featuredLinks: featuredLinks:
startHere: startHere:

View File

@@ -1 +1 @@
Creating a repository for your project allows you to store code in {% data variables.product.prodname_dotcom %}. This provides a backup of your work that you can choose to share with other developers. For more information, see “[Create a repository](/get-started/quickstart/create-a-repo)." Creating a repository for your project allows you to store code in {% data variables.product.prodname_dotcom %}. This provides a backup of your work that you can choose to share with other developers. For more information, see “[AUTOTITLE](/repositories/creating-and-managing-repositories/quickstart-for-repositories)."