Adam,

> -----Original Message-----
> From: Adam Baratz [mailto:adambar...@php.net]
> Sent: Monday, September 12, 2016 11:54 PM
> To: internals@lists.php.net
> Subject: [PHP-DEV] merged branches in incorrect order
> 
> 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.
> 
To keep it clean, you can 

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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to