We have a long-running feature branch feature/xyz which was branched from master, to add new projects (no changes to pre-existing files).
I thought I would try to do a catch-up using rebase so using the GitKraken client ran "rebase feature/xyz onto master". As far as I can see all this has done is deleted all the files added in my local feature/xyz branch and not added any changes from master; the resultant commit is simply 50 file deletes of all the things added in this feature.
Easy to undo locally but I thought this was a valid catch-up technique instead of a merge. Have I misunderstood rebase and this is expected, or does it indicate something has gone wrong? My local feature/xyz branch does have a remote upstream branch origin/feature/xyz, I am not sure if this is relevant but it rings a bell.