git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "A.J. Rossini" <blindglobe@gmail.com>
To: git@vger.kernel.org
Subject: problems with cloning; http vs git protocols?
Date: Sat, 9 Jun 2007 17:06:05 +0200	[thread overview]
Message-ID: <1abe3fa90706090806m4014a680x89178bc5698fefda@mail.gmail.com> (raw)

Greetings -

I've been working on a project that I'm finally making available to
others, and have set it up on repo.or.cz.

It originated as an SVN project on a private repository, and I've been
using git-svn for communication with the original repo.

After having pushed it up

( git push -v git+ssh://repo.or.cz/srv/git/rclg.git master:master
tonylocal:tonylocal )

I've been working to verify it to write instructions for friends, and
here is the basic problem:

 git clone http://repo.or.cz/w/rclg.git

fails:
$ cd /tmp
$ git clone http://repo.or.cz/w/rclg.git/
Initialized empty Git repository in /tmp/rclg/.git/
/usr/bin/git-clone: line 381: cd: /tmp/rclg/.git/refs/remotes/origin:
No such file or directory
fatal: Not a valid object name HEAD

but

 git clone git://repo.or.cz/rclg.git

works:
$ rm -rf rclg
$ git clone git://repo.or.cz/rclg.git
Initialized empty Git repository in /tmp/rclg/.git/
remote: Generating pack...
remote: Done counting 446 objects.
remote: Deltifying 446 objects...
remote:  100% (446/446) done
Indexing 446 objects...
remote: Total 446 (delta 239), reused 446 (delta 239)
 100% (446/446) done
Resolving 239 deltas...
 100% (239/239) done



?? Is there something I'm doing wrong with the push statement, or with
my git-svn work, or is it a bug, or have I just forgotten/misread a
step??

(I'd like to get http working for a few corporate firewall-hindered friends).

best,
-tony

blindglobe@gmail.com
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we
can easily roll-back your mistakes" (AJR, 4Jan05).

             reply	other threads:[~2007-06-09 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-09 15:06 A.J. Rossini [this message]
2007-06-09 15:55 ` problems with cloning; http vs git protocols? Jeff King
2007-06-09 15:57   ` A.J. Rossini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1abe3fa90706090806m4014a680x89178bc5698fefda@mail.gmail.com \
    --to=blindglobe@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).