I have an existing repo that I want to add a new remote to, a sort of local repo for internal staging rather than pushing to origin.
I have created a new blank repo in GitHub, added the remote to my repo (with the name github) and tried :
git push github mybranch
I believe I have done this before and it worked, however now I'm getting an error telling me that updates were rejected because a pushed branch tip is behind its remote counterpart.
It wants me to git pull
from the new repo - however it's empty.
What do I need to do in order for this to work? Is there a force option to just shove the code there?