public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Johannes Sixt <j.sixt@viscovery•net>
To: Graeme Geldenhuys <graemeg@gmail•com>
Cc: git@vger•kernel.org
Subject: Re: pushing specific branches to a public mirror repos
Date: Fri, 17 Jul 2009 10:51:06 +0200	[thread overview]
Message-ID: <4A603B7A.6050208@viscovery.net> (raw)
In-Reply-To: <h3pcrg$ekk$1@ger.gmane.org>

Graeme Geldenhuys schrieb:
> I currently have the following git config setting for the remote github
> repository:
> 
> [remote "github"]
>     url = git@github•com:graemeg/freepascal.git
>     push = +refs/remotes/*:refs/heads/*
> 
> I only want to push the "trunk" and "fixes_2_2" SubVersion branches to
> GitHub as heads. How must I change by remote.github.push config setting,
> or must I do a manual push as I do with the local tracking "master" branch.

You can have more than one push line in the config:

    push = +refs/remotes/trunk:refs/heads/trunk
    push = +refs/remotes/fixes_2_2:refs/heads/fixes_2_2

-- Hannes

  reply	other threads:[~2009-07-17  8:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-17  8:30 pushing specific branches to a public mirror repos Graeme Geldenhuys
2009-07-17  8:51 ` Johannes Sixt [this message]
2009-07-17  9:11   ` Graeme Geldenhuys
2009-07-17  9:47     ` Bert Wesarg
2009-07-17 10:05     ` Johannes Sixt

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=4A603B7A.6050208@viscovery.net \
    --to=j.sixt@viscovery$(echo .)net \
    --cc=git@vger$(echo .)kernel.org \
    --cc=graemeg@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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