git cannot squash commits

16,716

Git failed to merge automatically. Try git mergetool and resolve conflicts, then continue your rebase with git rebase --continue

Share:
16,716
Pan Ruochen
Author by

Pan Ruochen

Happy to discuss about the following topics: C / Shell / Makefile

Updated on July 31, 2022

Comments

  • Pan Ruochen
    Pan Ruochen over 1 year

    I cannot squash commits with git rebase -i command, getting the following error message.

    error: could not apply 3ad5c7b... 
    
    When you have resolved this problem run "git rebase --continue".
    If you would prefer to skip this patch, instead run "git rebase --skip".
    To check out the original branch and stop rebasing run "git rebase --abort".
    

    What is the error and how to resolve it?

  • William Seiti Mizuta
    William Seiti Mizuta about 11 years
    When you typed __git_ps1, what did you get?