All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: public-git-users-/JYPxA39Uh5TLH3MbocFFw@lo.gmane.org
Cc: git@vger.kernel.org
Subject: Re: git equivalent to svn info?
Date: Wed, 17 Sep 2008 22:50:51 -0700	[thread overview]
Message-ID: <7v4p4e0zpg.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080917224856.GT10360@machine.or.cz> (Petr Baudis's message of "Thu, 18 Sep 2008 00:48:56 +0200")

Petr Baudis <pasky-+ZI9xUNit7I@public.gmane.org> writes:

> On Thu, Sep 18, 2008 at 10:13:34AM +1200, Francois Marier wrote:
>> On Wed, 2008-09-17 at 14:46 -0700, skillzero-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>> > Is there an easy way with git to get the URL of the repository that
>> > you cloned from, similar to what svn info shows for a subversion
>> > repository? I see it's stored in [remote "origin"]->url section of
>> > the .git/config, but I was hoping for an easy-to-remember command to
>> > display it.
>> 
>> I normally use "git remote show origin"
>
> You can also get a quick overview with git remote -v.

Ah, that reminds me...

It is Ok to have more than one URL defined for a remote if you use that
remote for push, but "git remote -v" complains, like this:

    $ git remote -v
    warning: Remote builders has more than one URL
    builders        box-fc5:git/
    ko-private	m.kernel.org:git/

when I have 3 URLs (box-fc5, box-fc7 and box-fc9) for "builders" remote to
push into.

Could somebody fix this, please?

       reply	other threads:[~2008-09-18  5:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1ed9467a-ca0d-4f9f-813d-9ff92dd7413e@s28g2000prd.googlegroups.com>
     [not found] ` <1221689614.7164.31.camel@localhost>
     [not found]   ` <20080917224856.GT10360@machine.or.cz>
2008-09-18  5:50     ` Junio C Hamano [this message]
2008-09-18 16:11       ` [PATCH] make "git remote" report multiple URLs Michael J Gruber
2008-09-19 20:28         ` Junio C Hamano
2008-09-22  8:57           ` [PATCH v2] " Michael J Gruber

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=7v4p4e0zpg.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=public-git-users-/JYPxA39Uh5TLH3MbocFFw@lo.gmane.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.