How to make x-branch
feature/name D - E - F
/
develop A - B - C
look like this
feature/name C - D - E - F
/
develop A - B
and move C to be the first commit on y-branch
EDIT Sorry for the typo. Here is a brief scenario to what I need
Here is the situation, I forgot to create a new feature branch from the develop and commit changes to develop and then released that I am on develop so I created feature branch and continued the work. So I want to reset the develop branch and keep all the work on feature branch