I am trying to rebase my feature branch.
I created feature branch name "feature/task1" from 'develop'. After that made changes in feature branch and commit -> push branch to remote and created pull request.(But, work still in progress).
Now, other person made some changes to 'develop' branch. I want that changes to local "feature/task1" branch.
I tried "git pull --rebase" but it shows.
error: cannot pull with rebase: You have unstaged changes.
So, i tried following as i don't want to discard some local changes also don't want to commit.
1.) git stash
2.) git pull --rebase
3.) git stash pop
But, still i can't see those latest changes to my feature branch.
I checked this answer but, not helped much. (If i checkout develop branch i can see latest changes but, not in my feature branch).