Answer the question
In order to leave comments, you need to log in
How to update a git branch to master level?
Good afternoon.
Suppose there is a branch responsible for the output of goods and services.
The product branch is merged into the master, after which N commits are made to the services branch, where some kind of global configuration is written, the changes of which must be applied to the product branch.
How to replace a product branch completely with files from the master?
Answer the question
In order to leave comments, you need to log in
If you are in the master, then git pull --rebase
If you are in the branch, thengit pull --rebase origin/master
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question