Skip to content

Instantly share code, notes, and snippets.

@shiloa
Created March 18, 2009 07:41
Show Gist options
  • Select an option

  • Save shiloa/80988 to your computer and use it in GitHub Desktop.

Select an option

Save shiloa/80988 to your computer and use it in GitHub Desktop.
## inside project dir on local machine (tracked by git):
$ git remote add origin git://gitserver/path/to/repos/project.git
$ git push
gitserver [0: 10.14.120.222]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
## also tried with ssh
$ git remote rm origin
$ git remote add origin git://gitserver/path/to/repos/project.git
$ git push
fatal: '/path/to/repos/project.git' unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
## I didn't create the project.git dir above, but why didn't the git://
## protocol worked?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment