I was trying to set up a Git project in Google Code, but did not seem able to push anything to their site with my regular
Pulling seemed to work even less, giving me the following error:
[ward@hathor]$ git pull Your configuration specifies to merge with the ref 'master' from the remote, but no such ref was fetched.
I know, it is my own fault for not at least skimming through their FAQ beforehand. You see, the issue here is that when starting out, there is no branch on their end. So just push your master branch.
[ward@hathor]$ git push origin master Counting objects: 3, done. Writing objects: 100% (3/3), 208 bytes, done. Total 3 (delta 0), reused 0 (delta 0) remote: Scanning pack: 100% (3/3), done. remote: Storing objects: 100% (3/3), done. remote: Processing commits: 100% (1/1), done. To https://code.google.com/p/.../ * [new branch] master -> master [ward@hathor]$ git pull Already up-to-date.
And everything should go a-ok (for now).