No refs in common and none specified; doing nothing

I got the error "No refs in common and none specified; doing nothing" from Git the other day when trying git push to a remote repost. I checked the config and all seemed ok but after some googling it seems this error happens when you clone an empty repos. To solve you need to do at least one push specifying both origin and master. git push origin masterAfter you've done this once you can then simply usegit push
comments powered by Disqus