git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aneesh Bhasin <contact.aneesh@gmail.com>
To: Johannes Sixt <j.sixt@viscovery.net>
Cc: git@vger.kernel.org
Subject: Re: Gitk - Seeing just a specific remote ?
Date: Sun, 8 Mar 2009 18:31:36 +0530	[thread overview]
Message-ID: <f662f0210903080601g4c637fcbqcf62435a3922349f@mail.gmail.com> (raw)
In-Reply-To: <49B0D8FD.6070807@viscovery.net>

On Fri, Mar 6, 2009 at 1:34 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
> Aneesh Bhasin schrieb:
>> I have a git repository (say, new_develop) in which a remote
>> repository (say old_develop) is also there of some older work with the
>> associated remote branches. Is there a way to see all  the branches of
>> only this remote older_develop repository graphically in gitk -
>> something that shows me the same thing that doing a 'gitk --all' would
>> have shown had I done it from the older_develop repository itself ? If
>> I say 'gitk --all' (in new_develop) it shows me all the branches
>> (local as well as remote). Specifying 'gitk --remotes' also shows all
>> the remote branches (not just from the old_develop remote repo) ? Is
>> there some other way that I am missing ? I have seen the man page of
>> git-rev-list too but there doesn't sem to be a way to do it.
>
> gitk has an option, --argscmd, that you can use:
>
>  gitk --argscmd="git for-each-ref --format='%(refname)'
> refs/remotes/old_develop/*"
>

Thanks. That was exactly what I was looking for.

      reply	other threads:[~2009-03-08 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06  5:58 Gitk - Seeing just a specific remote ? Aneesh Bhasin
2009-03-06  8:04 ` Johannes Sixt
2009-03-08 13:01   ` Aneesh Bhasin [this message]

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=f662f0210903080601g4c637fcbqcf62435a3922349f@mail.gmail.com \
    --to=contact.aneesh@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=j.sixt@viscovery.net \
    /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).