Home > Software engineering >  GitHub won't let me push to remote folder (in Xcode)
GitHub won't let me push to remote folder (in Xcode)

Time:03-12

I'm trying to set up a GitHub Repo for an existing Project (in Xcode). I'm already logged in with my GitHub Account. But as soon as I try to Push a commit to the Remote Repo, this Window Pops Upenter image description here

I can't select anything. How can I fix that?

CodePudding user response:

You can't push a local repo that is not associated with a remote repo (known, for short, as a "remote"). Give this repo a remote. You can either make one at GitHub now, or associate this repo with a repo at GitHub that you have created already. Here's how to do that using Xcode's interface:

enter image description here

Personally, though, I never use Xcode's Git interface for much of anything; it's atrocious. Learn to use the command line; you'll be much happier (in my opinion).

  • Related