Re: configure git to not push all remote tracking branches
- From
- Justin Johnson <justin.johnson3@gmail.com>
- Date
- Dec 9, 2011, 15:07 UTC
- Message-ID
- <CAPD5EOgeKpV1bWJZmdUR6ZQuA=objSAApVrz1W9W8C_ij+XN9A@mail.gmail.com>
- In-Reply-To
- <CALkWK0m0f-AGLwKqiKx9Aozwr5oN6FrH5ehG03mmEpB7Di8PWQ@mail.gmail.com>
On Fri, Dec 9, 2011 at 10:03 AM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
Show 14 quoted lines
> Hi Justin, > > Justin Johnson wrote: >> git push alternateorigin >> should not do anything, but >> git push alternateorigin mybranch >> should push just mybranch. > > $ git config push.default nothing > Note: push.default defaults to "matching" > > Cheers. > > -- Ram
Thank you, that's exactly it. I saw it in the docs for git-config but wasn't positive that's what I needed.
--Justin