Accessing git
On the Linode I do:
(su) apt-get install git-core
mkdir myrepo.git
git init –bare
On my local machine, I do:
cd
git init
git add
git remote add origin ssh://
git push origin master
I get the message:
fatal: '
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?
2 Replies
Server:
$ cd ~
$ mkdir myrepo.git
$ cd myrepo.git
$ git init –bare
Client:
$ git clone ssh://user@host/home/USERNAME/myrepo.git
$ git add file.c
$ git commit -m "commitlog"
$ git push