To clarify all the steps when using SSH.
git clone git@github.com :User1/Repo1.wiki.git cd Repo1.wiki
Please note the use : vs. / when using SSH. If something goes wrong, you cannot just repeat this command, so you need to manually change the URL. To check what this indicates, use:
git config --local -l
If this is not correct, set the correct URL:
git config --local remote.my-fork.url git@github.com :User2/Repo2.wiki.git
Now you can continue:
git push my-fork -f --no-tags
Where -f is shorthand for --force to overwrite all refs .
source share