On 20.09.2019 at 12:59, Alexandru Pătrănescu wrote:

> Can you let us know what you used as it's doing the job well :)
> CLI git merge or another UI; which one?

I'm usually using TortoiseGit, but basically I'm doing

    git rebase -i HEAD~<number of commits to squash>

> I'm also curious what will happen if there would be two authors on the same
> branch/pull request.
> Is it interactive or pre-configured to use author of the first commit, last
> commit, most of the commits?

In this case I likely would not squash commits of different authors.  An
alternative would be to append the following to the commit message:

    Co-authored-by: name <n...@example.com>

--
Christoph M. Becker

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

Reply via email to