> > $ git-pull > > fatal: 'origin': unable to chdir or not a git archive > > fatal: The remote end hung up unexpectedly > > Since you did not clone from anywhere, the remote "origin" is not set. > You will have to do that yourself: > > git remote add -f origin http://aeyakovenko@xxxxxxxxxxxx/git/repo/ Thanks, that worked. but push still gives me an error: $ git pull You asked me to pull without telling me which branch you want to merge with, and 'branch.master.merge' in your configuration file does not tell me either. Please name which branch you want to merge on the command line and try again (e.g. 'git pull <repository> <refspec>'). See git-pull(1) for details on the refspec. If you often merge with the same branch, you may want to configure the following variables in your configuration file: branch.master.remote = <nickname> branch.master.merge = <remote-ref> remote.<nickname>.url = <url> remote.<nickname>.fetch = <refspec> See git-config(1) for details > > > $ git-clone http://aeyakovenko@xxxxxxxxxxxx/git/repo/ foobar > > Initialized empty Git repository in /home/aeyakovenko/projects/foobar/.git/ > > cat: /home/aeyakovenko/projects/foobar/.git/refs/remotes/origin/master: > > No such file or directory > > /usr/bin/git-clone: line 450: cd: > > /home/aeyakovenko/projects/foobar/.git/refs/remotes/origin: No such > > file or directory > > fatal: : not a valid SHA1 > > fatal: Not a valid object name HEAD > > That smells like another "master"-less repository. Why do people do that? > Isn't it just _easier_ and more _hassle-free_ to just accept that the > initial branch is called "master"? what do you mean by master-less? I would love to just be able to create a normal git repo with "git-init" and clone it over http the same way that i do over ssh and the filesystem. but when I do that over http i get this error: $ git-clone http://aeyakovenko@xxxxxxxxxxxx/git/repo/ repo Initialized empty Git repository in /home/aeyakovenko/projects/repo/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? and running `git-update-server-info` does nothing. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html