Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Problems continuing a rebase after resolving conflicts in SourceTree.

rMarkD March 2, 2014

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.

1 answer

0 votes
Magnus Bondesson April 2, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events