How to mirror private GitHub repositories

I am in the process of transitioning all my repositories at GitHub to my private Gitea instance. So far everything went pretty good. However I am not able to find any hints on how to mirror my
private repositories at GitHub with Gitea. Is this even possible?

Thanks in advance.

I don’t have any private repositories to test with but I guess you could use the “Need Authorization” option when migrating?

As @cez81 said, you can use the Need Authorization settings, and set your username and password as the parameters. Or if you don’t want to write your password, you can use a GitHub personal access token:

Personal access tokens function like ordinary OAuth access tokens. They can be used instead of a password for Git over HTTPS […]

1 Like