Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68539 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51751 invoked from network); 15 Aug 2013 19:30:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2013 19:30:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=ab@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ab@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.73.107 as permitted sender) X-PHP-List-Original-Sender: ab@php.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:52788] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/C8-06453-65C2D025 for ; Thu, 15 Aug 2013 15:30:31 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 33) id 4379223D6165; Thu, 15 Aug 2013 21:30:27 +0200 (CEST) Received: from 188.110.160.2 (SquirrelMail authenticated user anatol@belski.net) by webmail.klapt.com with HTTP; Thu, 15 Aug 2013 21:30:27 +0200 Message-ID: In-Reply-To: <1376592356.14536.240.camel@guybrush> References: <1376589335.14536.228.camel@guybrush> <520D1BA8.1060504@seld.be> <1376592356.14536.240.camel@guybrush> Date: Thu, 15 Aug 2013 21:30:27 +0200 To: =?UTF-8?Q?=22Johannes_Schl=C3=BCter=22?= Cc: "Jordi Boggiano" , internals@lists.php.net Reply-To: "Anatol Belski" User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] git branches 5.3/ 5.4 / 5.5 From: ab@php.net ("Anatol Belski") On Thu, August 15, 2013 20:45, Johannes Schlüter wrote: > On Thu, 2013-08-15 at 20:19 +0200, Jordi Boggiano wrote: > >> >> And to ensure you never push garbage by accident, run this to tell git >> to always only push the branch you're on when you run `git push`: >> >> git config --global push.default current > > Good tip. I wasn't aware of that setting. Mind that we have multiple > active branches we typically push to in one go, so using the default and > being clear about ones tracking branches can be comfortable, too, and > avoid forgetting to properly push to all branches. > > So each approach has benefits and downsides ... and well as I'm the only > one who currently can do forced pushes (I think) neither approach will > cause actual trouble ;-) (if it becomes bad, which I don't expect, we can > add restrictions to the server, too) > > > Probably the best is to do a push --dry-run to check and getting used to > manually specify branches i.e. git push origin PHP-5.4 PHP-5.5 master > > johannes > > Exactly, I usually do just 'git push origin' while being on master, so if there's some stuff merged up from PHP-5.4 (or PHP-5.3 earlier), it automatically goes with. The experimental branches will not be pushed with this until one explicitly tells like 'git push origin my_experiment'. Using that current setting would disable the automatic. Anatol Anatol