I got pulled off of one task A to fix an urgent bug - task B.
I created a new branch for task B but that contained some new files that I was working on from task A (I messed up the branch creation here I guess). Both branches were based on develop.
Anyway when it came to create the pull request for task B I deleted the new (task A) files committed then created the pull request.
So now I want to pull for develop. I know this will update my task A branch - so will probably delete the new files I created.
How do I do the equivalent of:
git pull origin develop
while keeping the new files?