J
J
JastaFly2020-12-28 20:17:02
git
JastaFly, 2020-12-28 20:17:02

Move a commit from one branch to another?

Good day to all! I need to move all commits from one branch to another. For this I use the command:

error: your local changes would be overwritten by cherry-pick.
hint: commit your changes or stash them to proceed.
fatal: cherry-pick failed

After that, I added files that affected the commit that I need to move to a new commit. I get just such a thing:
5fea13027a872731650539.jpeg
Help me figure out what's wrong?!??
Thank you all in advance)
PS In general, as you can see from the screenshot, I have a bunch of modified files that have no place on this branch. Perhaps this is the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2020-12-28
@yarkov

Perhaps this is the problem

You were told about this in plain text in the text of the error))
Hint in translation means a hint.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question