Cannot rebase - you have unstaged changes
When you use the git pull —rebase command, you might see the following error response and the git pull does not occur:
cannot rebase: you have unstaged changes
Please commit or stash them.
If you happen to edit any files in your repository, Git thinks you have uncommitted changes to push back to the repository. Since Qualcomm ChipCode is not a collaborative system (It is distribution 1-way from Qualcomm to you), you cannot commit changes back to Qualcomm ChipCode. Instead, you must stash can clear the changes before doing the git pull --rebase command
If you see this error while inside your repository, do these steps:
git stash save
git stash list
git stash clear
git stash list
git pull --rebase
Or, delete your repository and clone it again (this is not usually necessary)