I want to export my project to GitHub and the project is private but I am the Github owner. But the GitHub is in an organization. So I think that is an error that is won’t upload. Am I right? If yes how can I fix that?
Can you try over the console?
git remote add origin https://github.com/username/repo.git
git push -u origin master
3 Likes
This means that you already have an “origin” for git set up.
To see what’s already been added, run git remote -v
. If you want to remove it and try adding the GitHub one instead, run git remote rm origin
.
1 Like
I get this error now:
Maybe you could try changing the origin URL instead of removing it, like these instructions show?
1 Like