Re: What's the best way to push/fetch replace refs?
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Dec 30, 2011, 14:51 UTC
- Message-ID
- <CAP8UFD3KSjdZz1q+QYsH4JpRkiavtTbT1WqQSdxqCaxc24j=Rg@mail.gmail.com>
- In-Reply-To
- <CAA61mJgCjt0O5LE5OQ=aNbtUHCZeZdZ=3dXYTNv_AhFi7JXwkA@mail.gmail.com>
On Fri, Dec 30, 2011 at 12:59 PM, Slawomir Testowy <slawomir.testowy@gmail.com> wrote:
Show 7 quoted lines
> > # I also added "fetch = +refs/replace/*:refs/replace/*" to [remote > "origin"] in "b" and this also seems to work. > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
Yeah, the simplest is probably to just add "fetch = +refs/replace/*:refs/replace/*" to the remote(s) you want to get the replace refs from, and "push = +refs/replace/*:refs/replace/*" to the remote(s) you want to push the replace refs to.
Regards, Christian.