-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
hub fork <new repo name> #697
Comments
Also if the |
Hub uses octokit in the background. There's not a documented way to fork under another name, or rename repos that would allow this project to juggle them around. I don't think this is possible until the api supports that. |
The API does allow you to rename a repository: |
Here's the git script that I use for making forks. It does a rename of the fork. Hope it helps someone. |
I could see no one had requested the API change to help this feature along, so I created: https://github.uint.cloudmunity/t5/GitHub-API-Development-and/Add-support-for-rename-repository-when-creating-a-fork-from-API/m-p/44329#M3923 |
It would be nice to be able to fork a repo with another name
git clone github/hub hub-custom cd hub-custom git fork hub-custom
This would result in a fork on my github that's named hub-custom
The text was updated successfully, but these errors were encountered: