Re: [RFC/PATCH] Introduce branch.<name>.pushremote
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Feb 19, 2013, 11:30 UTC
- Message-ID
- <CALkWK0nJbbA_wjo--LW9v7pP35LS4SUOhZjHVh4dbZqDjSJnew@mail.gmail.com>
- In-Reply-To
- <CAGL0X-qLikj3bKervpASEixnEVLjBGDN=8QX8K6SG-A2Z_dVUg@mail.gmail.com>
Blind wrote:
Show 7 quoted lines
> 2013/2/19 Ramkumar Ramachandra: >> No. I don't see why push.default is limiting. > > I just want to find a way to exclude a branch (or infact a group of > branches) from $git push --all. > so when I read your thing, I thought for a second that it could be a > possibility... But seems its not the case.
What is your usecase? If you have a local branch with the same name as on the remote, why wouldn't you want to push-to-update it when you make changes in the branch? In other words, why doesn't push.default = matching suffice for most practical purposes.
> ... or branch.<name>.pushremote can support some kind of a "none" value?
Not a bad idea at all, provided you tell me your usecase.