-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
command/cloneforkThis affects the git clonefork commandThis affects the git clonefork commandenhancementNew feature or requestNew feature or request
Description
Line 27 in d997ab1
| Note: this command currently only works with github repositories! |
https://docs.github.com/en/rest/repos/forks?apiVersion=2022-11-28#create-a-fork
And allowing git clonefork to detect, if the link provided is connected to a repo that is not created by the current user, we will automatically create a fork repo for them and do the remote config.
If the link provided is connected to a repo that is created by the current user, we will only do the remote config.
e.g:
git clonefork <upstream> will create the fork repo in my account
git clonefork <Leo6Leo/reponame> will not create the fork repo
Metadata
Metadata
Assignees
Labels
command/cloneforkThis affects the git clonefork commandThis affects the git clonefork commandenhancementNew feature or requestNew feature or request