V
V
Vlad2020-05-29 12:37:18
git
Vlad, 2020-05-29 12:37:18

Git Flow, how to update local branch?

Didn't work with gitflow.
Created a new branch from the develop branch with the command git flow feature start MYBRANCH
I am doing a task, but have not yet submitted my branch.
Some time passed, new features were rolled out to the master.
How do I update the created MYBRANCH branch to master level?
As usual, while in your branch, do git pull origin master?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2020-05-29
@Krasnodar_etc

Honestly. Speaking of which, I doubt it's possible to pull master into your local non-master branch.
The idea is something like this:

git checkout master
git pull origin master
git checkout -
git merge master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question