New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let user to specify the target repo fork name #4849
Comments
This comment has been minimized.
This comment has been minimized.
|
Hi, thank you for the feature request. This would have been a good addition to the CLI; unfortunately the API that we use does not support choosing the fork name at fork time: https://docs.github.com/en/rest/reference/repos#create-a-fork You can call an additional command to rename your fork with |
|
Update: I just tested and it looks like on name collisions, the new fork in your account will have a number appended to the forked repo in case you already have a repository matching the name of the repository you're forking. The fork will get named Tip: see |
Describe the feature or problem you’d like to solve
We are able to repo a fork with :
this forks upstream of for example the repository
footo the github user repositoriesfoo(or organisation if specified as is)it would be nice if we can have the ability to have another name than
fooas the user repository target.Proposed solution
Additional context
I have multiple repos with name "enhancement" from different organization, i need to rename all manually after doing a "gh repo fork" so they won't conflict😢
--remote-nameswitchThe text was updated successfully, but these errors were encountered: