-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLI
Description
Describe the feature or problem you’d like to solve
After creating a new GitHub repo, the repository is empty. I'd like to have the current HEAD branch pushed to the repo so the repository is already populated with code.
Proposed solution
This will allow people to get started with their new repo that much easily. Maybe one of the following three flags can be considered?
gh repo create --with-head
gh repo create --with-branch
gh repo create -bAdditional context
This is handy for when you're automating things with the CLI and want to have a repository ready to go with populated code. See the discussion in #3088 for extra context.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLI