All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mihamina Rakotomandimby <mihamina@bbs.mg>
To: git@vger.kernel.org
Subject: help on importing
Date: Sun, 19 Jun 2011 18:03:48 +0300	[thread overview]
Message-ID: <20110619180348.576ea06e.mihamina@bbs.mg> (raw)

Hi all,

I made several commits to a small local program.
When I list them with "git log" I see them.

To publish my work, I choosed to sign in a forge (like github, google
code,...). I choosed forge.ocamlcore.org

With my account creation, the forge automatically created an empty GIT
repository.

I clone it with:
  git clone git+ssh://rakotomandimby@forge.ocamlcore.org/gitroot/ocaml-crypt/ocaml-crypt.git
  Initialized empty Git repository in /tmp/ocaml-crypt/ocaml-crypt/.git/
  warning: You appear to have cloned an empty repository.
I am surprised the initialisation is not in /tmp/ocaml-crypt/ocaml-crypt.git/.git/ 
as I pulled "ocaml-crypt.git".

Anyway...
When add+commit a file into "/tmp/ocaml-crypt/ocaml-crypt/", 
I get no errors, but when pushing:
  $ git push
  No refs in common and none specified; doing nothing.
  Perhaps you should specify a branch such as 'master'.
  fatal: The remote end hung up unexpectedly

I dont understand...

If I have success on this first simple steps, 
I could switch to the next level: Importing my local commits
to that cloned repository ans then push that all.

I read several GIT documentation, but it seems I dont have the 
right keywords to have good results...


Would you help?

-- 
RMA.

             reply	other threads:[~2011-06-19 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19 15:03 Mihamina Rakotomandimby [this message]
2011-06-19 15:23 ` help on importing Jakub Narebski

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=20110619180348.576ea06e.mihamina@bbs.mg \
    --to=mihamina@bbs.mg \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.