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
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x