can't push master to fresh github repo

109 views
Skip to first unread message

msc...@mscdex.net

unread,
Apr 11, 2014, 5:51:08 PM4/11/14
to git-...@googlegroups.com
I created a new local git repo, created a new git repo on github, set github as the only remote, staged some files, and then tried to push. With GitExtensions this would just work and the master branch would then appear in the github repo. However git-cola gives a warning that the "" branch does not exist on the remote and clicking "Create Remote Branch" does nothing (no error and files are still staged).

The local master branch doesn't even show up in the local branches list when pushing, so there is nothing to select. Typing in the name manually for both the local and remote branch names in the push dialog results in error.

I attempted to "create" the master branch manually hoping it would then show up in the branches list, but those attempts resulted in error as well.

What am I missing?

David Aguilar

unread,
Apr 18, 2014, 1:37:51 AM4/18/14
to msc...@mscdex.net, git-...@googlegroups.com
It's hard to say.
What does the .git/config file look like in your repo?
--
David
Reply all
Reply to author
Forward
0 new messages