I'm having trouble mirroring my repository. The following commands works:
git clone --bare https://github.com/my_username/my-repo.git
cd my-repo
There is another repository which is empty that I want mirrored. That repository is owned by another person but I have access to it as I can see it in my GitHub account.
When I execute the following command, I get an error:
git push --mirror https://github.com/their-username/their-repo
remote: Repository not found.
fatal: repository ‘https://github.com/their-username/their-repo/’ not found
Repositories:
- https://github.com/my-username/my-repo (This is my repo which has my username)
- https://github.com/their-username/their-repo (This is their repo which has their username)
I am trying to mirror 1 into 2. I can successfully clone both repositories