git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Thomas Adam" <thomas.adam22@gmail.com>
To: "Steve Hoelzer" <shoelzer@gmail.com>
Cc: "git mailing list" <git@vger.kernel.org>
Subject: Re: How can I specify multiple refs on one line in the config file?
Date: Wed, 7 May 2008 22:33:12 +0100	[thread overview]
Message-ID: <18071eea0805071433j5bde8868w305d9a80c00bd2bd@mail.gmail.com> (raw)
In-Reply-To: <588192970805071415wb7b502ch2047ac5e4865c296@mail.gmail.com>

2008/5/7 Steve Hoelzer <shoelzer@gmail.com>:
> How can I specify multiple refs on one line in the config file? For
>  example, I want "git push" to push all heads and all tags by default
>  so I tried this:
>
>     [remote "origin"]
>         push = refs/heads/* refs/tags/*
>
>  That doesn't work, of course, but I imagine it is possible, and I just
>  can't figure out the syntax.

I might be misunderstanding you, but to push tags, there's:

git push --tags

I know that's not inclusive of anything else.

-- Thomas Adam

  reply	other threads:[~2008-05-07 21:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 21:15 How can I specify multiple refs on one line in the config file? Steve Hoelzer
2008-05-07 21:33 ` Thomas Adam [this message]
2008-05-07 22:19   ` Steve Hoelzer
2008-05-07 22:27     ` Miklos Vajna
2008-05-07 22:38       ` Thomas Adam
2008-05-07 23:58         ` Steve Hoelzer
2008-05-07 22:28 ` Jeff King
2008-05-07 22:29   ` Jeff King
2008-05-08  3:32     ` Jeff King

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=18071eea0805071433j5bde8868w305d9a80c00bd2bd@mail.gmail.com \
    --to=thomas.adam22@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=shoelzer@gmail.com \
    /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).