[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 2.0.0.23 (X11/20090817) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
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
and:
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 maposmatic.org, I just did the "git remote add savannah
git://git.sv.gnu.org/maposmatic.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:
- ------------------------------------------------------------
[color]
diff = auto
status = auto
branch = auto
[alias]
co = checkout
[sendemail]
smtpserver = blahblah
smtpserverport = 12345
[core]
editor = /usr/bin/emacs
[format]
attach
- ------------------------------------------------------------
And the .git/config of each repos:
- ------------------------------------------------------------
[sendemail]
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 1.6.4.2 from
the sources for this to work... Intrepid's own git send-email is not
exactly great.
Regards,
- --
David Decotigny -- http://david.decotigny.fr
Fingerprint: 54A6 7EC5 868D 98C8 8C8C 1BD1 95DE EF86 EB15 AC21
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkqdVIoACgkQld7vhusVrCEy/wCeNKiRrVDfpY+t1z3eWRZPm9FS
6wQAn0VsRsta2cKY4Iok8s0sOJBc/G7n
=tpkb
-----END PGP SIGNATURE-----