[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] Fwd: [task #9657] Two git repositories for maposma

From: David Decotigny
Subject: Re: [Maposmatic-dev] Fwd: [task #9657] Two git repositories for maposmatic
Date: Tue, 01 Sep 2009 19:06:18 +0200
User-agent: Thunderbird (X11/20090817)

Hash: SHA1


David MENTRE wrote:
> For information, could you give the git commands you used, if you have
> them at hand?

The main point was to have my ssh key registered into savannah.
Apparently, key updates are not immediatly processed: they depend on a
cron job for that. Anyway, once ssh is Ok, the first thing I did was to
push from a local working copy. I used a fresh clean clone from Fred for
that. Inside this clone, I did:
  git push --all git.gnu:/srv/git/maposmatic.git
  git push --tags git.gnu:/srv/git/maposmatic.git
Where "git.gnu" is my local ~/.ssh/config alias for the savannah git
servers. I didn't use the "--mirror" option; maybe I should have... I
have no idea. But in the end, everything seems to be on savannah: the
objects and the tags.

This was to push Fred's reference repos onto the savannah git servers.

On, I just did the "git remote add savannah
git://" advertised on Savannah. One
consequence is that these git repos are read-only. I also edited
.git/config so that the default pull is from this "savannah" remote, and
renamed the "origin" as "fdl". I also had to mv .git/remotes/origin as
fdl, and to edit .git/remotes/fdl/HEAD as well.

For those interested, here is my ~/.gitconfig:
- ------------------------------------------------------------
        diff = auto
        status = auto
        branch = auto
        co = checkout
        smtpserver = blahblah
        smtpserverport = 12345
        editor = /usr/bin/emacs
- ------------------------------------------------------------

And the .git/config of each repos:
- ------------------------------------------------------------
        to = address@hidden
        from = David Decotigny <address@hidden>
- ------------------------------------------------------------

That way, git send-email --compose works reasonably well (not perfectly
IMHO, but it works). Notice that I had to get/compile git from
the sources for this to work... Intrepid's own git send-email is not
exactly great.


- --
David Decotigny --
Fingerprint: 54A6 7EC5 868D 98C8 8C8C 1BD1 95DE EF86 EB15 AC21
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


reply via email to

[Prev in Thread] Current Thread [Next in Thread]