I am a new git user.
I have a repository on bitbucket that I would like to import into a .git folder I have created on my live shared host web server ( where I have git installed ). I can give commands via SSH. I am following the instructions in http://joemaller.com/990/a-web-focused-git-workflow/
I have been able to set up the 2 repos on the server as described in the article. However when give the command:
"git remote add hub ~/site_hub.git; git remote show hub; git push hub master; "
I get:
Push URL: /home/***/site_hub.git HEAD branch: (unknown)
error: src refspec master does not match any.
error: failed to push some refs to '/home/***/site_hub.git'
How can I fix this?