I am newbie about octopress, so i can face some problems. At the beginning, I cloned the octopress repository, and I created a repository is called OctoBlog, and after that I
rake setup_github_pages
and
rake generate
rake deploy
At this point, everything seems great. I did every step the tutorial which is on octopress offical website, but when I want to
git add .
git commit -m 'your message'
git push origin source
commit the codes, there occured a problem is
error: src refspec source does not match any.
error: failed to push some refs to 'git@github.com:enderahmetyurt/OctoBlog.git'
and I realized that there is no master branch on my repository, and I don’t know how I can create a new master brach. Is it set itself when we create a new repository on github?
In shortly i want to learn, How can I commit my octopress?
You should do
git push origin masterinstead ofgit push origin source. If you want to use the source branch, you should put your branch to track it and do agit push origin source.