A
A
alex4answ2021-03-26 06:59:32
git
alex4answ, 2021-03-26 06:59:32

Why is pull --rebase dangerous for a local branch?

Good morning, what is dangerous git pull --rebasefor a local branch?

I use git-flow where for each feature there is a separate branch in which only 1 person works.
When updating master, you need to update this local branch as well, now I do it in *dev git pull origin & git merge master

But I would like to rebase so that my changes are on top of those that are already committed in master, but I read that you should not do this, but when you work on a branch 1 - why not?

Of course, then this branch will be sent to originand later merged withmaster

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question