update `gh repo create` docs (#11932) · 0-vortex/docs@42a3482 · GitHub
Skip to content

Commit 42a3482

Browse files
authored
update gh repo create docs (github#11932)
1 parent a9a4b89 commit 42a3482

3 files changed

Lines changed: 11 additions & 22 deletions

File tree

‎content/get-started/quickstart/create-a-repo.md‎

Lines changed: 3 additions & 7 deletions

‎content/github-cli/github-cli/creating-github-cli-extensions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ You can use the `gh extension create` command to create a project for your exten
7070

7171
```shell
7272
git init -b main
73-
gh repo create gh-<em>EXTENSION-NAME</em> --confirm
74-
git add . && git commit -m "initial commit" && git push --set-upstream origin main
73+
git add . && git commit -m "initial commit"
74+
gh repo create gh-<em>EXTENSION-NAME</em> --source=. --public --push
7575
```
7676

7777
1. Optionally, to help other users discover your extension, add the repository topic `gh-extension`. This will make the extension appear on the [`gh-extension` topic page](https://github.com/topics/gh-extension). For more information about how to add a repository topic, see "[Classifying your repository with topics](/github/administering-a-repository/managing-repository-settings/classifying-your-repository-with-topics)."

‎content/github/importing-your-projects-to-github/importing-source-code-to-github/adding-an-existing-project-to-github-using-the-command-line.md‎

Lines changed: 6 additions & 13 deletions

0 commit comments

Comments
 (0)