Error: Cannot pull with rebase: You have unstaged changes

Posted by

Error:

error: cannot pull with rebase: You have unstaged changes. error: Please commit or stash them.

Solution:

  • Step1: git stash // It is stashing your local changes in a safe place
  • Step2 : git pull // Pull the latest changes
  • Step3: git stash pop // It will move the stash file to your branch
  • To verify please run: git status

Leave a Reply

Your email address will not be published. Required fields are marked *

0
Would love your thoughts, please comment.x
()
x