Creating a new repo from a private repo #2638
Unanswered
tahirmahmudzade
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, i was just wondering if i can create a new repo on a user's repo using a different user's private repo.
Basically in my project, i have a template repo and i want to clone this to the authenticated user's github account. I have set up Github Oauth and i get the access token of the user who is being authenticated. Also, i got the necessary permission to update user's repo using scopes. I have a personal access token which enables me to interact with my own github account.
I looked at the github api docs, using createUsingTemplate method i can create a repo on user's account but the catch is user should be a part of the organization that owns the repo.
What i actually need is that creating a repo on authenticated user's github account using my private template repo.
Beta Was this translation helpful? Give feedback.
All reactions