Reputation: 5644
On GitHub, I have deleted my existing repository and created a new one with the same name Test
.
Now, when trying to push my local repository to GitHub for the first time, I get the error message: "Working copy out of date. Try pulling from the remote to get the latest changes, then push again."
And when trying to pull from GitHub, I get the error message: "Test
is not a valid remote branch to pull from. Please choose a different remote branch."
I have only one branch, which is master
.
How can I solve this issue with Xcode 5?
Upvotes: 5
Views: 5827
Reputation: 5644
This is how I got this to work:
.gitIgnore
and ReadMe
file recommended by
GitHub. It works perfectly now!
Again: Do not include the .gitIgnore
and ReadMe
file from GitHub.
P.S. If someone else answers this question, I will selected his answer as the correct answer.
Upvotes: 12