Say I have 2 branches: develop
and feature-10
. I'm working on feature-10
and once feature's development is done, I create a pull request.
When I get a merge conflict in PR creation, I do this (from feature-10
branch):
$ git checkout develop
$ git pull origin develop
$ git checkout feature-10
$ git merge develop
Is it possible to pull develop
and merge into feature-10
in one step, instead of checkout and pull explicitly?