Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95958 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64860 invoked from network); 12 Sep 2016 22:40:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Sep 2016 22:40:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:39003] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CA/80-60695-9DE27D75 for ; Mon, 12 Sep 2016 18:40:26 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id AEC9F782F73; Tue, 13 Sep 2016 00:40:22 +0200 (CEST) Received: from w530phpdev (p54A77D75.dip0.t-ipconnect.de [84.167.125.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id B9C53782999; Tue, 13 Sep 2016 00:40:19 +0200 (CEST) To: "'Adam Baratz'" , References: In-Reply-To: Date: Tue, 13 Sep 2016 00:40:15 +0200 Message-ID: <004101d20d46$a40be340$ec23a9c0$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGSCDM2GzJvUx5Tyi1bQt99NWPJLqD2fByw Content-Language: en-us Subject: RE: [PHP-DEV] merged branches in incorrect order From: anatol.php@belski.net ("Anatol Belski") Adam, > -----Original Message----- > From: Adam Baratz [mailto:adambaratz@php.net] > Sent: Monday, September 12, 2016 11:54 PM > To: internals@lists.php.net > Subject: [PHP-DEV] merged branches in incorrect order >=20 > I was following https://wiki.php.net/vcs/gitworkflow to make my first = commit > to ext/pdo_dblib. I made a little mistake. I committed first to = PHP-7.0. I forgot > about the PHP-7.1 branch and merged from PHP-7.0 to master. I went = back and > merged from PHP-7.0 to PHP-7.1. All merges applied cleanly, but will = this cause > git history issues? Figured it would be better to check what to do = next than to do > any preemptive cleanup. >=20 To keep it clean, you can=20 git checkout master git reset --hard origin/master and same for every branch containing a wrong merge. This will reset = every branch to the state of remote, after that you can repeat the merge = clean way. Regards Anatol