Search code examples
gitgithubimportrepositoryprivate-repository

Importing private repo to other private repo Git


I have a private repo on git that I would love to import in another private repo. When I try to import it, I log in with my account and then this message Your old project requires credentials for read-only access. We will only temporarily store them for importing. continue to pop up and I cannot import the repo. Someone could help?


Solution

  • I had the same problem and was able to resolve it by using the Personal Access Token (token access to Private Repositories) instead of the password. Take a look at this from the github community which gives a bit more detail (the answer from hobojoe1848): https://github.community/t/import-repository-not-working/2044/4