I am attempting to Cherry Pick a series of commits from my development branch into a hotfix branch. On the 5th commit, there were conflicts in one of the files. I resolved the conflicts (Resolve using "Theirs") and then attempted to commit the now staged changes. Sourcetree helpfully recognized that I had been in the middle of a rebase and asked if I wanted to continue. When I said yes, it attempted to but couldn't, saying "It looks like git-am is in progress. Cannot rebase.". Is there any way to handle this in SourceTree? I get the same message when I try to abort the rebase. Thanks.
As I understood, you did these steps (within SourceTree (ST), but I will examplify with git commands):
git cherry-pick c1 (c1=commit 1)
OK (a commit was automatically created by Git)
git cherry-pick c2
OK
git cherry-pick c3
OK
git cherry-pick c4
OK
git cherry-pick c5
Conflict!
You fixed conflicts, staged them and tried to:
git commit
ST saying something about you being in middle of rebase...
Did I understand you correctly?
At what time did you start rebasing and why?
Btw, there is another bug in ST related to this where the commit msg is not filled in correctly (it's empty) after a conflict when cherry-picking (same after a conflict when reverting). I reported it here: https://jira.atlassian.com/browse/SRCTREEWIN-570
/Magnus
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.