We have a develop branch and a release branch.
I was asked to make a change, but was later told that the change had to be a hotfix and so I should have branched off the release branch.
The current situation is this (I drew the diagram myself):
I really don't want to loose all my work that is currently sitting on my feature-branch. How do I move all my changes in feature-branch so that they sit in a new branch but one that is branched off release branch?
What have I tried?
I tried using rebase --onto but I got the following error:
$ git rebase --onto release-branch feature/1 feature/1a
fatal: fatal: no such branch/commit 'feature/1a'
