I am having problems with a rebase, here is my setup:
I have a remote git repo, and a local master branch which should mirror on the remote repo, I always branch off of my local master branch.
To update my local master I perform git fetch; git rebase <remote>
Once this has been completed I switch to my development branch git checkout my_dev_branch, and then run git rebase master. This has been working great.
But I have just performed git fetch; git rebase <remote>; and got
Cannot rebase: You have unstaged changes.
Please commit or stash them.
When I run git status I get nothing returned. I then ran git stash and tried to rebase again, but got the same error. I even tried git reset --hard <remote> but I still get the same error when trying to rebase.
Does anyone know whay I am getting this error and how to fix it?
Thanks in advance!