I'm having difficulty accessing git on my Linode (Ubuntu). I followed the very good howto in the library, but that has problems, so I tried back-to-basics, but that has problems too, as follows:
On the Linode I do:
(su) apt-get install git-core
mkdir myrepo.git
git init --bare
On my local machine, I do:
cd <dir which will be the local repo>
git init
git add <myfile>
git commit -m "first commit"
git remote add origin
ssh://myuser@mylinode.com/myrepo.git
git push origin master
I get the message:
fatal:
'myuser@mylinode.com/myrepo.git' does not appear to be a git repository
All the howtos I've read on the web say this should work, but it doesn't. Can anyone give me any clues as to why?