I recently came across the octopress blogging platform and followed the installation instructions. I am hosting it on github using github pages. I created a repository and successfully managed to make an initial commit. My problem came when I tried to make another commit and this is the message I got:
Immanuels-MacBook-Pro:octopress manuweg$ git add .
Immanuels-MacBook-Pro:octopress manuweg$ git commit -m "Changed origin url"
[source e0fff54] Changed origin url
1 files changed, 1 insertions(+), 1 deletions(-)
Immanuels-MacBook-Pro:octopress manuweg$ git push origin source
ERROR: Repository invalid.
fatal: The remote end hung up unexpectedly
This is the config in my .git/config file
[remote "origin"]
url = git@github.com:manuweg/manuweg.github.com.git
fetch = +refs/heads/*:refs/remotes/origin/*
When I do
git config --get-regexp '^(remote|branch)\.'
I get
remote.octopress.url git://github.com/imathis/octopress.git
remote.octopress.fetch +refs/heads/*:refs/remotes/octopress/*
branch.source.remote origin
branch.source.merge refs/heads/master
remote.origin.url git@github.com:manuweg/manuweg.github.com.git
emote.origin.fetch +refs/heads/*:refs/remotes/origin/*
As you can see there seems to be a spelling mistake on the last line
emote.origin.fetch +refs/heads/*:refs/remotes/origin/*
Which I assume should read:
remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
The remote origin url is correct and worked for the initial commit. Any ideas why I am getting this error?