Imagine such an example.
git checkout master git pull git checkout-b newBranch // add some code.. git add . git commit git push
Created a Pull Request for the unity of my branches with the main branch.
It took some time my branch have not obedinilis, I need to make some more changes in newBranche.
In parallel with this master branch has changed several times, updated code, etc.
Here the question before how to update a Pull Request, do I need to update the master branch and make marge with my thread ?
approximately
git checkout master git pull git checkout newBranch git merger master
Or just update the code and do a git push without merg'a ?