git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Excluding some refspecs from git push?
@ 2011-07-23 21:46 Paul Sokolovsky
  2011-07-24 19:19 ` Shawn Pearce
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Sokolovsky @ 2011-07-23 21:46 UTC (permalink / raw)
  To: git; +Cc: repo-discuss

Hello,

Is there a way to exclude some refspec from being processed by "git
push"? What I'm looking for is a syntax like:

push some-remote 'refs/*' '!refs/meta/config'

, with the meaning of "push all refs except refs/meta/config". What I'm
trying to do with this is to find out a generic way to mirror git
repositories managed by the Gerrit tool
(http://code.google.com/p/gerrit/), which since version 2.2 uses
refs/meta/config branch to store repository-local configuration, so
should not be mirrored between two Gerrit's.

-- 
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-24 19:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-23 21:46 Excluding some refspecs from git push? Paul Sokolovsky
2011-07-24 19:19 ` Shawn Pearce
2011-07-24 19:32   ` Magnus Bäck
2011-07-24 19:45     ` Shawn Pearce

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).